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 240749

Summary: org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance took 151266 ms.
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: Expression LanguageAssignee: Martin Fousek <marfous>
Status: RESOLVED FIXED    
Severity: normal CC: obrejla
Priority: P3 Keywords: PERFORMANCE
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206792
Bug Depends on: 241042    
Bug Blocks:    
Attachments: nps snapshot

Description Exceptions Reporter 2014-01-21 10:43:06 UTC
This issue was reported manually by obrejla.
It already has 2 duplicates 


Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Mac OS X

User Comments:
GUEST: Always freeze on autocompletion

GUEST: More again



Maximum slowness yet reported was 151266 ms, average is 115860
Comment 1 Exceptions Reporter 2014-01-21 10:43:09 UTC
Created attachment 144185 [details]
nps snapshot
Comment 2 Martin Fousek 2014-01-27 14:29:45 UTC
Slowness because of getting documentation from network and there is no way to cancel the job on base of the cancelled request. I'm going to introduce small API change into the CSL.
Comment 3 Martin Fousek 2014-02-03 08:27:12 UTC
Ok, after fixing #241042 there is a way how to find out that the parent job cancelled its request. So when somebody invokes the CodeCompletion for second time, it's not blocked by previous job any more.

EL fixed together with the new API in web-main #1cf3259c35e5.