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 105167 - Tasklist icon badging blocks EQ
Summary: Tasklist icon badging blocks EQ
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: PERFORMANCE, THREAD
: 108743 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-30 16:55 UTC by Jesse Glick
Modified: 2007-07-12 16:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump excerpt (4.49 KB, text/plain)
2007-05-30 16:56 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-05-30 16:55:38 UTC
070524. I opened a Java source from an NBM project using --open CLI. The IDE
froze for a while before showing the document. Thread dumps revealed that
java.source.tasklist.ErrorAnnotator.annotateIcon is synchronously calling
ClassPath.getClassPath on the file, which is probably unwise as this may involve
nontrivial computation (esp. for NBM projects).
Comment 1 Jesse Glick 2007-05-30 16:56:48 UTC
Created attachment 42974 [details]
Thread dump excerpt
Comment 2 Jan Lahoda 2007-07-04 13:00:11 UTC
*** Issue 108743 has been marked as a duplicate of this issue. ***
Comment 3 Jan Lahoda 2007-07-12 16:29:14 UTC
The TaskCache is not accessed synchronously in AWT anymore:Checking in ErrorAnnotator.java;
/cvs/java/source/src/org/netbeans/modules/java/source/tasklist/ErrorAnnotator.java,v  <--  ErrorAnnotator.java
new revision: 1.4; previous revision: 1.3
done