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 210435

Summary: LowPerformance took 31191 ms.
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: Hints & AnnotationsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal CC: javydreamercsw, Sayak, williambacchi
Priority: P3 Keywords: PERFORMANCE
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185091
Attachments: nps snapshot

Description Exceptions Reporter 2012-03-30 13:41:59 UTC
Build: NetBeans IDE 7.1.1 (Build 201203012225)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Linux

User Comments:
GUEST: When I press CTRL+click in @Override annotation to view original method in parent class.

javydreamercsw: Opening/editing/saving a persistence file is really slow.



Maximum slowness yet reported was 31191 ms, average is 16712
Comment 1 Exceptions Reporter 2012-03-30 13:42:16 UTC
Created attachment 117546 [details]
nps snapshot
Comment 2 Stanislav Aubrecht 2012-04-19 12:30:48 UTC
GlyphGutter.GutterMouseListener is accessing Java sources in EDT
Comment 3 Stanislav Aubrecht 2012-04-19 12:31:10 UTC
(Please reassign if I picked wrong component)
Comment 4 Quality Engineering 2012-04-26 10:30:25 UTC
Integrated into 'main-golden', will be available in build *201204260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a3210ffac3ee
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #210435: run the whole ElementOpen.open off EDT not only the position computation, improving cancalability, including BinaryElementOpen.
Comment 5 Jan Lahoda 2012-04-26 10:57:48 UTC
Fixed by not blocking AWT thread and making the process faster:
http://hg.netbeans.org/jet-main/rev/612548f72683
http://hg.netbeans.org/main-golden/rev/a3210ffac3ee