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 210576 - 32s - in org.netbeans.modules.editor.java.JavaKit.install()
Summary: 32s - in org.netbeans.modules.editor.java.JavaKit.install()
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-04-02 20:35 UTC by Exceptions Reporter
Modified: 2012-04-24 14:38 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182459


Attachments
nps snapshot (128.64 KB, application/nps)
2012-04-02 20:35 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-04-02 20:35:52 UTC
Build: NetBeans IDE 7.1.1 (Build 201203012225)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7
Maximum slowness yet reported was 45492 ms, average is 15316
Comment 1 Exceptions Reporter 2012-04-02 20:35:59 UTC
Created attachment 117693 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-04-03 08:35:48 UTC
The install() calls getActions() which in turn calls into mime lookup. Should not this be preinitialized sooner by a call to NbEditorKit.call() outside of AWT thread?
Comment 3 Miloslav Metelka 2012-04-24 14:38:45 UTC
The JavaKit.getActions() is invoked in warm-up - I've double-checked at JavaEditorWarmUpTask:163 so I'm wondering how this might happen - possibly the document was opened before shutting down the IDE? Marking as worksforme.