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 - AWT thread blocked for 29429 ms.
Summary: AWT thread blocked for 29429 ms.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-11-28 06:36 UTC by jplatts
Modified: 2009-12-03 04:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161157


Attachments
nps snapshot (256.00 KB, application/nps)
2009-11-28 06:36 UTC, jplatts
Details

Note You need to log in before you can comment on or make changes to this bug.
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.