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 171270 - Slow MimePathLookup.beforeLookup (was: AWT thread blocked for 14,699 ms.)
Summary: Slow MimePathLookup.beforeLookup (was: AWT thread blocked for 14,699 ms.)
Status: RESOLVED DUPLICATE of bug 170040
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
: 168573 169075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-01 15:52 UTC by Vitezslav Stejskal
Modified: 2009-09-02 17:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157623


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2009-09-01 15:52:41 UTC
This was originally duplicated to snapshots in issue #169075, but this snapshot is different. 

Build: NetBeans IDE Dev (Build 090721)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386
User comments: Starting IDE.
Maximum slowness yet reported was 14699 ms, average is 14699
Comment 1 Vitezslav Stejskal 2009-09-01 16:15:18 UTC
The problem is partially in using inefficient FileObject.getMIMEType when looking up setting files. This was already
fixed in issue #170040.

The rest of the time is spent mostly in deprecated pre61settings.KeybindingsInjector, which should not be normally
loaded. Did you install a module that still requires pre61settings? What module is it? Anything that could possibly be
part of the official downloadable distros? If so, we should file a defect for that module and get rid of the dependency
on pre61settings.

*** This issue has been marked as a duplicate of 170040 ***
Comment 2 Jesse Glick 2009-09-01 16:24:13 UTC
Yes, "Experimental Java Hints" (contrib/javahints) uses the deprecated API.
Comment 3 Vitezslav Stejskal 2009-09-02 14:19:24 UTC
It looks like an obsolete dependency. I removed it.
http://hg.netbeans.org/main/contrib/rev/4568a6e1b9ad
Comment 4 Vitezslav Stejskal 2009-09-02 17:00:12 UTC
*** Issue 168573 has been marked as a duplicate of this issue. ***
Comment 5 Vitezslav Stejskal 2009-09-02 17:02:41 UTC
*** Issue 169075 has been marked as a duplicate of this issue. ***