Bug 537687 - Multiple "Activating working set updaters" UI jobs on startup
Summary: Multiple "Activating working set updaters" UI jobs on startup
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.9 M3   Edit
Assignee: Andrey Loskutov CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2018-08-04 05:34 EDT by Andrey Loskutov CLA
Modified: 2018-08-07 02:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2018-08-04 05:34:42 EDT
After we have fixed various "auto-build on startup" issues I see that on startup a LOT of "Activating working set updaters for bundle ..." jobs are running and keep UI busy for some time.

I've counted them and I had ~ 40 UI jobs!

Looking on the code in org.eclipse.ui.internal.AbstractWorkingSetManager.bundleChanged(BundleEvent) one can see that *for every bundle activation event* an UI job is triggered on startup, *independently* if the job at the end just does nothing in UI (they just reading some registry data etc and terminate).

The scary thing is, from 40 UI jobs only ONE was actually doing something useful! The rest is really wasting UI time on startup.

I will push a patch in a moment.
Comment 1 Eclipse Genie CLA 2018-08-04 05:37:40 EDT
New Gerrit change created: https://git.eclipse.org/r/127057