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 179903 - AWT thread blocked for 21276 ms.
Summary: AWT thread blocked for 21276 ms.
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-01-27 04:33 UTC by jungmat
Modified: 2010-01-27 08:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 164617


Attachments
nps snapshot (256.00 KB, application/nps)
2010-01-27 04:33 UTC, jungmat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jungmat 2010-01-27 04:33:30 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Linux
Maximum slowness yet reported was 21276 ms, average is 21276
Comment 1 jungmat 2010-01-27 04:33:35 UTC
Created attachment 93585 [details]
nps snapshot
Comment 2 Tomas Pavek 2010-01-27 08:15:00 UTC
80% of time spent in font initialization done by JDK, provoked by innocent call of JLabel.getMinimumSize() calling getFontMetrics. It takes more than 8 seconds - but we can't do anything about that. This kind of initialization should happen just once and it's strange the GUI builder would be the first place this is called.

I have no explanation for such long time - other than that the whole system was overloaded and slow at that moment (the snapshot statistics indicate that).