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 169469 - Do not call PaletteFactory.createPalette(...) in AWT
Summary: Do not call PaletteFactory.createPalette(...) in AWT
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-07-29 15:14 UTC by Martin Schovanek
Modified: 2009-09-19 10:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154477


Attachments
nps snapshot (66.80 KB, bin/nps)
2009-07-29 15:14 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-07-29 15:14:17 UTC
Build: NetBeans IDE Dev (Build 200907290201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

User Comments:
mschovanek: Opening projects.


Maximum slowness yet reported was 5187 ms, average is 5187
Comment 1 Martin Schovanek 2009-07-29 15:14:23 UTC
Created attachment 85466 [details]
nps snapshot
Comment 2 Petr Jiricka 2009-09-18 10:33:46 UTC
Looks like a lot of time is spent in BaseJspEditorSupport$BaseJspEditor.associatePalette, assigning to Marek.
Comment 3 Marek Fukala 2009-09-18 11:19:25 UTC
PaletteFactory.createPalette(...) should not be called in AWT, it does some settings reading from filesystem.
Comment 4 Marek Fukala 2009-09-18 11:49:39 UTC
fixed in web-main#94b9890185d4
Comment 5 Quality Engineering 2009-09-19 10:53:35 UTC
Integrated into 'main-golden', will be available in build *200909190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/94b9890185d4
User: Marek Fukala <mfukala@netbeans.org>
Log: #169469 - Do not call PaletteFactory.createPalette(...) in AWT