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 177784

Summary: AWT thread blocked for 29429 ms.
Product: platform Reporter: jplatts <jplatts>
Component: PaletteAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED FIXED    
Severity: normal CC: saubrecht
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 161157
Attachments: nps snapshot

Description jplatts 2009-11-28 06:36:05 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) Client VM, 16.0-b11, Java(TM) SE Runtime Environment, 1.6.0_18-ea-b04
OS: Windows Vista, 6.0, x86

User Comments:
kawazu428: switching project groups...

kawazu428: switching between two project groups

jplatts: I was doing a Maven build, and NetBeans stopped responding for approximately 30 seconds.


Maximum slowness yet reported was 29429 ms, average is 12128
Comment 1 jplatts 2009-11-28 06:36:10 UTC
Created attachment 91811 [details]
nps snapshot
Comment 2 Jiri Skrivanek 2009-12-02 07:19:47 UTC
Based on http://statistics.netbeans.org/exceptions/exception.do?id=310312 I fixed. I moved isVisible() out of AWT thread. It calls FileObject.getAttribute() which may be slow or blocked by another thread.

core-main #b131c5cdaee1
Comment 3 Quality Engineering 2009-12-03 04:52:59 UTC
Integrated into 'main-golden', will be available in build *200912030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b131c5cdaee1
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #177784 - Move isVisible() out of AWT thread. It calls FileObject.getAttribute() which may be slow or blocked by another thread.