Do not try to cleanup the DUChain while parse jobs are running.
AbandonedPublic

Authored by mwolff on Feb 21 2016, 10:03 PM.

Details

Reviewers
kfunk
Group Reviewers
KDevelop
Summary

This can interfer drastically with the ongoing parse jobs. Most
notably, I just encountered a case where a long-running parse job
was ongoing, but all other parse threads where waiting since the
cleanup thread already tried to lock for write, thereby starving
the parse jobs.

I think we should wait with the cleanup until the parse jobs have
finished. To do so, we try to lock for write and give up if this
does not succeed.

Test Plan

seems to work as intended.

Diff Detail

Repository
R33 KDevPlatform
Branch
5.0
Lint
Lint Skipped
Unit
Unit Tests Skipped
mwolff updated this revision to Diff 2417.Feb 21 2016, 10:03 PM
mwolff retitled this revision from to Do not try to cleanup the DUChain while parse jobs are running..
mwolff updated this object.
mwolff edited the test plan for this revision. (Show Details)
mwolff added reviewers: KDevelop, kfunk.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptFeb 21 2016, 10:03 PM
mwolff abandoned this revision.Feb 21 2016, 10:04 PM
mwolff added a project: KDevelop.

duplicate, I love arc