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 237788

Summary: org.netbeans.modules.java.hints.onsave.RemoveUnusedAfterSave.runLocked: LowPerformance took 24518 ms.
Product: java Reporter: dbcurtis <dbcurtis>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: REOPENED ---    
Severity: normal CC: choces, lforet, sdedic
Priority: P3 Keywords: PERFORMANCE
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203907
Attachments: nps snapshot

Description dbcurtis 2013-10-30 07:04:34 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 8

User Comments:
dbcurtis: I cannot tell what it is doing.  No real pattern.
I have been debugging (and it was really slow at some points in that).
But this last one was while editing and after typeing a "." after JFileChooser and waiting for the options to appear.

Frustrating.....

Dan

GUEST: On saving



Maximum slowness yet reported was 32846 ms, average is 28682
Comment 1 dbcurtis 2013-10-30 07:04:40 UTC
Created attachment 141678 [details]
nps snapshot
Comment 2 Svata Dedic 2013-11-06 12:37:02 UTC
The on-save task waits for ~14 secs for javac parsing that runs on behalf of code completion to complete. I cannot see any particular reason why the parsing process takes so much time. Please investigate.
Comment 3 Martin Balin 2016-07-07 07:16:16 UTC
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
Comment 4 scanti 2018-02-13 10:43:45 UTC
I had the same problem on 8.2
Comment 5 scanti 2018-02-13 10:43:56 UTC
I had the same problem on 8.2