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.
Second or third time this has happened to me recently, though I am not sure what I was doing last time. JDK 1.6.0, recent dev build. Was just jumping through some Ant stack trace lines going through JDK classes. Fine for a couple of lines, then I jumped into one class and the file opened but the caret did not move. Then the CPU usage went to 100% and the screen froze. Stayed that way for several minutes while I took thread dumps. Could eventually close IDE by clicking the close button on the window (took about a minute to respond). Just guessing at the component here.
Created attachment 20858 [details] Some thread dumps taken at random over the course of a few minutes
I've seen a very similar thing when I disabled and enabled a module in NetBeans for about 3 times. It is reliably reproducible (I didn't get further than 3 or 4 times enabling and disabling). The CPU goes to 100%, thread dumps do not show any heavy activity. I doubt it has anything to do with the javacore module. I suspect there is something happening in the VM based on the fact the IDE is spending so much time (based on the number of thread dumps) in a trivial method like org.netbeans.jmi.javamodel.JavaClass$Impl.getModifiers(Unknown Source). Maybe the VM goes low on the perm. area and tries to free it or something like that.
It looks like general problem of whole IDE. Perf. guys, please evaluate. Thanks.
*** Issue 57065 has been marked as a duplicate of this issue. ***
It seems to me that XAWT toolkit behaves badly. AFAIK this is something what is new in mustang builds so it can be related. To Martin: there was some perf problem with growing number of listeners when you disabled/enabled module in recent builds but this should be fixed. Petr N. knows details.
To Martin: It was issue 56375, but it is completly unrelated to this one...
Can this issue be assigned to a component? To keep the IDE issues clean... thanks.
Jesse, is this still a problem? I do not see it on my machine.
Don't think I've seen this happen in a while.
verified