Community
Participate
Working Groups
Sometimes while working with my huge project, Eclipse hogs the CPU for a while (seconds to minutes), while remaining responsive. The progress window doesn't show anything happening. I stopped it with the debugger and found that it was processing thousands of async UI updates dispatched by CElementContentProvider to refresh the tree view. Many of these messages (50%?) were targeted at the entire project. I've fixed this bug by having CElementContentProvider remember the set of refresh targets it currently has async UI updates pending for. If there's already an update scheduled against an element, we don't post it again. It seems to work well.
Created attachment 24313 [details] fix Fix as described.
Sounds like a nice performace improvement.
Patch apply to the head, Please verify. Thanks.