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.
This bug was originally marked as duplicate of bug 149538, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20120730-12c10df24f47) VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: SunOS Maximum slowness yet reported was 10375 ms, average is 10375
Created attachment 122593 [details] nps snapshot
There is (so far) only one snapshot with similar suspected method. Is there any more information as to what was happening when this happened? There are 3 threads trying to repeatedly lock IncTokenList - Spellchecker, Cnd Braces Matching thread and AWT EDT. I suspect that the slowdown was caused by repeatedly calling IncTokenList.tokenOrEmbeddingImpl(x) but I am not sure. As this method is called under the synchronized all the other threads had to be waiting for it. Just a theory though ... I am not sure whether this report is actionable, what do you think? Both Alexander and Milo ... Thanks. David.
The report 678882 is strange imho the machine is either heavy loaded or jvm is struggling with GC which would correspond to an xml file being large. The report 603399 as David mentioned there are three threads competing all three scanning lexer's token hierarchy so they possibly compete for the lexer's lock at certain times.