Dev build, Mustang. I tried to Open Required Projects on nbbuild (i.e. all NB
modules). IDE froze with 100% CPU. I know it's normally slow, but this looked
wrong. Some thread dumps showed that javadoc.search.IndexBuilder was running in
several threads the whole time. I don't know if that's what was consuming so
much CPU, but it looks incorrect. Reading the IB source code, I don't see how it
could be using multiple threads; I think it's not supposed to.
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.
new revision: 1.12; previous revision: 1.11