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 258374

Summary: org.netbeans.modules.editor.java.LazyJavaCompletionItem.accept: LowPerformance took 125451 ms.
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: issues@javaee <issues>
Status: NEW ---    
Severity: normal CC: emiddio, michbarsinai
Priority: P3 Keywords: PERFORMANCE
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 223019
Attachments: nps snapshot

Description Exceptions Reporter 2016-03-15 10:50:42 UTC
This bug was originally marked as duplicate of bug 244142, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201603060002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.74-b02, Java(TM) SE Runtime Environment, 1.8.0_74-b02
OS: Windows 8.1

User Comments:
GUEST: autocomplete on getter and setter terrible slow



Maximum slowness yet reported was 125451 ms, average is 125451
Comment 1 Exceptions Reporter 2016-03-15 10:50:58 UTC
Created attachment 158871 [details]
nps snapshot
Comment 2 Dusan Balek 2016-06-30 16:36:10 UTC
As can be seen from the attached snapshot, code completion is blocked waiting for the Parsing API lock which is held for an extremely long time by the org.netbeans.modules.web.beans.analysis.WebBeansAnalysisTask.