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

Summary: Tasklist icon badging blocks EQ
Product: java Reporter: Jesse Glick <jglick>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE, THREAD
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump excerpt

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