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 184551 - PaletteItemDataObject$ItemNode.getIcon()/getDisplayName() blocks AWT thread
Summary: PaletteItemDataObject$ItemNode.getIcon()/getDisplayName() blocks AWT thread
Status: RESOLVED FIXED
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-04-20 13:51 UTC by Michel Graciano
Modified: 2010-04-21 16:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167783


Attachments
nps snapshot (28.37 KB, application/nps)
2010-04-20 13:51 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2010-04-20 13:51:47 UTC
Build: NetBeans IDE Dev (Build 100420-594644306785)
VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04
OS: Linux

User Comments:
GUEST: opening netbeans



Maximum slowness yet reported was 11297 ms, average is 6012
Comment 1 Michel Graciano 2010-04-20 13:51:53 UTC
Created attachment 97723 [details]
nps snapshot
Comment 2 Jan Stola 2010-04-21 09:58:49 UTC
Some of the attached snapshots are duplicates of issue 160377. The rest shows AWT thread blocked for few seconds by the following calls:
PaletteItemDataObject$ItemNode.getIcon()
PaletteItemDataObject$ItemNode.getDisplayName()
Comment 3 Jan Stola 2010-04-21 16:28:55 UTC
Fixed - the content of the Palette (including display names and icons) is initialized outside AWT thread by now.

Modified file: http://hg.netbeans.org/cdev/rev/16c32866d4ac