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: | 51s - CES.closeDocument is blocked | ||
---|---|---|---|
Product: | platform | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Text | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alied, Andre_Lopes_2012, arksoft, darrenoh, diegoliebel, drecute, flotho, fmagrosoto, gbalejandro, gorrus, hasenmaus, jack.rsantana, jeffsui, joshis, jrechtacek, jtulach, jyeary, KhArtNJava, lewiscarol, mmetelka, Myaccount, nickdick74, obrejla, ribeirex, senthil_123, stark9000, webfox, Wulpo, zdenek.rod |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 202254 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2013-07-18 05:12:55 UTC
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!! |