Bug 561191 - Working set manager can hang UI removing many working sets
Summary: Working set manager can hang UI removing many working sets
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.15   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-17 09:36 EDT by Andrew Niefer CLA
Modified: 2020-03-17 11:42 EDT (History)
1 user (show)

See Also:


Attachments
Main thread stack trace (4.45 KB, text/plain)
2020-03-17 09:36 EDT, Andrew Niefer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2020-03-17 09:36:42 EDT
Created attachment 282127 [details]
Main thread stack trace

It's not clear how, but while attempting to put projects into a working set, I ended up instead with 1000 working sets (each containing 1 project).  So I now have a total of 1010 working sets.

To reproduce the hang:
1) Have 1010 working sets, each containing at least one project
2) Select Configure Working Sets...
3) Select 1000 working sets, click remove
4) The UI hangs for a long time


See attached stack trace.

It appears the that WorkingSetManager is saving working sets states one at a time, on the UI thread.
Comment 1 Lars Vogel CLA 2020-03-17 09:39:04 EDT
Andrew, could you provide a Gerrit to improve that?
Comment 2 Andrew Niefer CLA 2020-03-17 11:42:52 EDT
re comment 1, I have the green ECA check mark because of my IBM email, but I'm actually a contractor to IBM on a particular product. Its not clear that I have permission from my employer to contribute code, I'll have to bug management (again) to try and clarify this.