Community
Participate
Working Groups
Created attachment 285882 [details] thread dump UI consistently blocks for 6+ seconds when saving modified files. Thread dumps strongly indicate it's the ProblemsLabelDecorator for eg. the Package Explorer or Navigator views. Eclipse IDE for RCP and RAP Developers (includes Incubating components) Version: 2021-03 (4.19.0) Build id: 20210312-0638 Eclipse Java Development Tools Version: 3.18.700.v20210303-1800 Build id: I20210303-1800
Is this a regression in 4.19, or was it always like this? How big is your workspace, and how many problems are there?
Possibly related: - https://bugs.eclipse.org/bugs/show_bug.cgi?id=346011
Previously for the same codebase I was using 'Eclipse IDE for Java Developers' Version: 2019-12 (4.14.0) Build id: 20191212-1212 includes Eclipse Java Development Tools Version: 3.18.600.v20201202-1800 Build id: I20191210-0610 Saving takes around perhaps 0.4-0.6 seconds there (small pause, not a problem in any way, hard to measure accurately how long it took). ------------- RAP/RCP workspace has 12,000 Java files and 38,600 markers (35,617 warnings). Java IDE workspace has same 12,000 Java files and 10,770 markers (9,594 warnings).
I am definitely used to working in Eclipse (normally just the plain 'Eclipse IDE for Java Developers') with projects up to 100k Java files and have never seen this problem before. I am not familiar with the Eclipse RCP/RAP, just installed it to try out Bndtools, but I think this may be a regression of some kind. The problem appears to be related to having the Package Explorer open. If I close it and have no project tree, or just have the Navigator, I don't encounter the delays. Looking at the Decorator configuration I didn't find a decorator I could disable to get rid of the Error Markers.
getErrorTicksFromMarkers duplicates bug 450663 but there are tiny differences in the calling stacktraces
*** This bug has been marked as a duplicate of bug 450663 ***