Community
Participate
Working Groups
I have been experiencing a degradation in responsiveness of the GUI when browsing through projects, opening and closing files, scrolling and the link. No actual editing was done. There's a really ovious difference between M5 and M6. The performance is now so poor that it is painful. I have a fast machine with 640 megs of RAM. This may as well be a problem of the Eclipse Platform UI. I can't tell if it only affects JDT.
This has been detected and we are working on it.
Can you please try I20040113 and give us feedback whether it's improved.
Ignore comment 2. Please use an I-build > 20040119 since I added some fixes today.
Just tried todays IBuild. It doesn't seem any better. Specifically: 1. Open a Java Project, use Package browser (I have 26 projects imported in Eclipse, two are open, rest is closed, 4 are in the active working set) 2. Open a Java file by double clicking a class 3. move the mouse over the source code (especially large comments) -> CPU usage goes to 100 % while moving the mouse cursor 1. Open a Java file by double clicking a class 2. Move mouse to the source code window 3. Move mouse back to the Package browser Do this repeatedly and try how fast you can open files. -> This seems to eat a lot of CPU
>Just tried todays IBuild. It doesn't seem any better. >Specifically: You must be some kind of a wizard then since todays I-build is not yet available ;-) You probably tried the last one which - according to comment 3 - does not yet contain the fixes.
Sorry, I downloaded I20040113. So I'll try again when the next I-Build is available.
I experienced exactly the same on W2K with M6. What I noticed is that the AST tree was built quite often, even if I did nothing. Scrolling with the mouse wheel was painfully slow and code completion too. But I installed M6 over M4. After deleting everything and starting from scratch (even reinstalling the plugins again) the problem does no longer exist. Is there any page to see which interfaces or code fragments have changed in order to guess which plugin might interfere (except of CVS)?
>Is there any page to see which interfaces or code fragments have changed in >order to guess which plugin might interfere (except of CVS)? Not sure what you mean here. There's a new and noteworthy document and a migration guide but this only handles API stuff. CVS is the way to go/compare.
OK. Thank you. Was looking for a migration guide...
Can you please switch to I20040121 and provide feedback regarding this PR. Thanks.
We tested a) I20040121 over M4: works b) I20040121 over M6: works AST calculation is only done when it's necessary. It seems to be faster than in M4. Switching between different Java files is no problem at all. Thank you.
Ortwin, please reopen if you disagree.
Okay, main issues verified fixed. Still getting 100% CPU load when moving the mouse cursor over a comment section (in my case the Apache License at the top of the file).
Just the first time or every time? Just by hovering, or do you click?
Everytime. I was only moving the mouse without clicking. As soon as I stop moving the mouse the CPU load goes back to normal.
Is this Javadoc, single-line or block comment? You say Appache License, is the file you look at in a JAR or a class file? If so, we're not talking about the Java editor but the Class File editor. Could you attach the file which causes the problem?
It is a large block comment like: /* * text * * */ The file is not packaged in a JAR file. It is a simple .java File on the file system. I am working on the Jakarta HttpClient, so I have checked out the Repository. The Apache license occurs in every single file. I will attach a sample in a minute.
Created attachment 7624 [details] Sample file with huge comment Open file in Java Editor and move mouse over the License terms to get a high CPU load.
Filed bug 50952.