This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | 7.3 Performance Issue | ||
---|---|---|---|
Product: | java | Reporter: | bhulse <bhulse> |
Component: | Hints | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | marco_bresciani, sdedic |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | 201321 |
Attachments: |
IDE log
One of two messages.log files Second of two messages.log files Profiling export the npss file from the ide profile operation Screen shot of IDE with Empty Dialog |
Description
bhulse
2013-04-16 11:18:41 UTC
Created attachment 133520 [details]
IDE log
(In reply to comment #0) > Is there anything I can do to get diagnostic data for you when this happens? Yes, you can send us self-sampling snapshot of the ide. http://wiki.netbeans.org/FitnessViaPartnership (and please also new messages.log from the same timeframe as the snapshot) Created attachment 133522 [details]
One of two messages.log files
Created attachment 133523 [details]
Second of two messages.log files
Created attachment 133524 [details]
Profiling export
Was doing navigate / to source or navigate / to declaration. Was getting the lengthy process popups.
Can you please send us the .npss (it has additional helpful information) you can export it via the second "export" action - the one in upper part of the self-snapshot topcomponent... Created attachment 133535 [details]
the npss file from the ide profile operation
Almost the whole time of the snapshot is spent computing hints org.netbeans.modules.java.hints.OrganizeMembers.access$000() reassigning to java/hints btw - you should run Netbeans on JDK 1.7 I did just upgrade NetBeans to Java 7 last week to see if that solved it. Unfortunately, no. Since you're seeing hints as the possible issue, I have disabled FindBugs, PMD and Checkstyle to see if that solves it. We have code cleanliness requirements to meet for our customer so we're using both PMD and Checkstyle to help cleanup the code. After disabling the style checkers, it appears to still be happening on two large classes (3600 lines and 9500 lines - both are very complex UIs), but with less frequency. If I move to smaller classes, the hang doesn't seem to happen. I will update whether I see this with any of the smaller classes over the next couple of days. I compared the performance of 7.2 with 7.3. In 7.2, there is a pause to get the right mouse menu from the 9500 line class, but it is only 3-4 seconds. I just had an incident with that huge class with 7.3 where it took over 15 minutes to come back - a check for external changes and a background project scan got started while I was waiting for the right click menu and the background scan stalled at 33% for a few minutes and then again at 66% for a few minutes. It appears that 7.3 is doing more intense work than 7.2 in respect to the hints (my 7.2 still has PMD and Checkstyle enabled so it's doing "more" than 7.3 is right now). Could you please go to Tools/Options/Editor/Hints/Language=Java and disable Class Structure/Organize Members? The profiler snapshot shows the time is being spent there, so this would be a good check if that is the only problem. Thanks. That seems to have resolved it. If I turn it off, I get the right mouse menu very quickly. If I turn it back on, I'm back to the 15+ second wait for the right mouse menu to appear. I'll post more comments if I see other long pauses going forward. Just to check in on this. I have not experienced any long lags since turning that specific hint off. I have also re-enabled all the plugins I had disabled looking for the problem. Another developer on the project complained to me about 7.3 performance and we turned it off on his system as well and he is no longer seeing problems either. This should be fixed by this change: http://hg.netbeans.org/main-silver/diff/681bf53df1ea/java.source/src/org/netbeans/api/java/source/GeneratorUtilities.java It will be part of the upcoming NetBeans 7.4 beta - if you could verify, that would be awesome. OK - I'll watch for the beta posting and let you know if it solves the problem for me. Created attachment 152470 [details]
Screen shot of IDE with Empty Dialog
I just experienced this issue on Netbeans: Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: Updates available to version NetBeans 8.0.2 Patch 1 Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) I initiated a Source/Format session. A few moments later the Dialog popped up but was empty of content. The condition eventually cleared it self, but I didn't witness the conclusion. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |