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 - org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 29708 ms.
Summary: org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinis...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-08-20 12:19 UTC by maulnick
Modified: 2013-08-22 07:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203182


Attachments
nps snapshot (31.33 KB, application/nps)
2013-08-20 12:19 UTC, maulnick
Details

Note You need to log in before you can comment on or make changes to this bug.
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