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.

Bug 234635

Summary: org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 29708 ms.
Product: java Reporter: maulnick
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal CC: sdedic
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203182
Attachments: nps snapshot

Description maulnick 2013-08-20 12:19:40 UTC
This issue was reported manually by sdedic.
It already has 1 duplicates 


Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 20.45-b01, Java(TM) SE Runtime Environment, 1.6.0_45-b06
OS: Windows 7

User Comments:
maulnick: long response time



Maximum slowness yet reported was 29708 ms, average is 29708
Comment 1 maulnick 2013-08-20 12:19:43 UTC
Created attachment 138905 [details]
nps snapshot
Comment 2 Svata Dedic 2013-08-20 12:30:56 UTC
The DeclarativeHintsRegistry.computeHints() collects hints classes from classpath, blocking other parser-aware tasks for quite a long time on classpath scanning. 


From the UI log it seems that the snapshot comes from the middle of the work, not right after IDE start (although ZIPs are only opened for file objects; maybe FOBs were GCed already).
Comment 3 Jan Lahoda 2013-08-22 07:52:09 UTC
Collecting the files asynchronously and semi-cancelably:
http://hg.netbeans.org/jet-main/rev/84b96bb731e5