Community
Participate
Working Groups
After updated Eclipse to build I20140428-2000, I am getting performance issue editing a java file, I get more than 100% CPU usage. One of my colleague get the same issue. Performance was fine with I20140427-2030 and earlier I-Builds. See attached Thread Dumps.
Created attachment 242473 [details] Thread Dump 1
Created attachment 242474 [details] Thread Dump 2
Created attachment 242475 [details] Thread Dump 3
seems to be a Mac specific issue (I'm running Mac OS 10.9.2)
I'm not sure the dump is accurate since there's not indication of typing in any of the traces. Another team member did not notice big performance impacts on his Mac.
Is it only in Java files or also when editing a simple text file?
(In reply to Dani Megert from comment #5) > I'm not sure the dump is accurate since there's not indication of typing in > any of the traces. > > Another team member did not notice big performance impacts on his Mac. I got the thread dump while the CPU with around 100% of CPU On our side, we noticed the issue on both Mac OS 10.8 and 10.9.
(In reply to Jerome Cambon from comment #7) > (In reply to Dani Megert from comment #5) > > I'm not sure the dump is accurate since there's not indication of typing in > > any of the traces. > > > > Another team member did not notice big performance impacts on his Mac. > > I got the thread dump while the CPU with around 100% of CPU > > On our side, we noticed the issue on both Mac OS 10.8 and 10.9. Maybe you have some different setup? Do you also see it with a new workspace? And when editing a text file?
(In reply to Dani Megert from comment #8) > (In reply to Jerome Cambon from comment #7) > > (In reply to Dani Megert from comment #5) > > > I'm not sure the dump is accurate since there's not indication of typing in > > > any of the traces. > > > > > > Another team member did not notice big performance impacts on his Mac. > > > > I got the thread dump while the CPU with around 100% of CPU > > > > On our side, we noticed the issue on both Mac OS 10.8 and 10.9. > > Maybe you have some different setup? Do you also see it with a new > workspace? And when editing a text file? Yes, I can see this with a new Workspace, with default setting. As soon as I create a Java project I get more than 100% CPU usage. So this is a general perf issue: I also get the issue while playing with Package Explorer, editing txt files, debugging, etc...
This is an issue with E4 themes. I work in the Classic theme, where performance is still OK for me in I20140428-2000. As soon as I switch to the Mac theme, I also get high CPU usage, and jstack traces show constant CSS and part content rendering triggered by the CSSSWTApplyStylesListener$1 or PartRenderingEngine. This seems to go on forever when the "General > Show heap status" preference is enabled. When I disable that and let Eclipse rest for about 20 seconds, then CPU load temporarily goes down.
I confirm that switching to Classic theme fix the issue :-)
I see this too. I forgot that you can also specify a special theme 'none' from the command line to disable CSS entirely (-cssTheme none). The keyboard still feels a bit laggy when typing, but that's unchanged from I20140427.
It seems to be connected to the changes introduced with the bug 430872 (changes in the CTabRendering.redrawChildren method). It affects the 'e4 default' as well as the 'Dark' theme - both use the custom e4 CTabFolder renderer that is corrupted. You can use the 'classic' theme that uses the default renderer, as another workaround for the issue I will investigate it, Daniel
Released as: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c907d2220bb40e62e3cbee7d01a58acb04ef4a86 Daniel
Can you confirm this is fixed in M7 available from download.eclipse.org? I just tried and "mac" theme is horribly slow on OSX 10.9.2.
The severe performance issues I saw with the Mac theme in I20140428-2000 are fixed in Luna M7 (Mac 10.9.2, JDK 8). Igor, please open a new bug with thread dumps if you still see problems.