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.
Summary: | Too many IndexBuilder threads running | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Javadoc | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | PERFORMANCE, THREAD |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Thread dumps (GZIPped) |
Description
Jesse Glick
2005-07-22 16:29:35 UTC
Created attachment 23242 [details]
Thread dumps (GZIPped)
...and IndexBuilder still runs even if you disable the Javadoc module, unless you restart the IDE first! Update: with Javadoc module disabled, and after restarting the IDE, I can open all NB modules. Not exactly fast, the screen doesn't repaint for a few seconds, and Java classpath scanning takes a while, but it works at least. So I think there is something wrong in javadoc. (I counted 30 threads running IndexBuilder in a single thread dump snapshot!) It is reproducible even with jdk 1.5. I replaced the default RP with a named RP using throughput 1 since the task created by the default RP seems to create new thread on each scheduling. Fixed in /cvs/javadoc/src/org/netbeans/modules/javadoc/search/IndexBuilder.java new revision: 1.12; previous revision: 1.11 |