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 172260, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.2.1 (Build 201210100934) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Windows 7 Maximum slowness yet reported was 51813 ms, average is 51813
Created attachment 137343 [details] nps snapshot
EDT is blocked for 41s (plus ten before profiling started) in org.openide.text.CloneableEditorSupport.closeDocument()
Very likely the closeDocument waits on org.openide.text.CloneableEditorSupport.prepareDocument() 99.92449 41 709 ms (99,9%) 0,000 ms which is blocked org.netbeans.modules.cnd.source.CppEditorSupport.createStyledDocument() 99.92449 41 709 ms (99,9%) 0,000 ms The original intention of the API was expecting createStyledDocument method to be fast. If it takes 51s then it is sort of violating the API contract. Passing to CND team.
Jarda, you are right and the described flow is correct but only for a single report 681682 (out of 29). Other reports have nothing to do with cnd. Only this (681682) log file shows up loaded cnd modules. So I'm going to file another separate issue against cnd and re-assign this one to platform.
A bug for cnd-related report (http://statistics.netbeans.org/exceptions/exception.do?id=681682): https://netbeans.org/bugzilla/show_bug.cgi?id=233191
I'm not sure if 'platform' is the correct category. Please adjust appropriately. Thanks!
Wulpo@netbeans.org, don't change metadata of issue, we do need to know in which version it was reported initially
I reported it in Netbeans 7.4 :P I always use last ( beta ) versions. It lags when i try to refactor!!