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.

Bug 214058 - 5s - csl.navigation.ElementNode.getMimeRootNodeForOffset()
Summary: 5s - csl.navigation.ElementNode.getMimeRootNodeForOffset()
Status: RESOLVED DUPLICATE of bug 212895
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-06-12 15:56 UTC by Exceptions Reporter
Modified: 2012-06-24 16:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189391


Attachments
nps snapshot (59.53 KB, application/nps)
2012-06-12 15:56 UTC, Exceptions Reporter
Details
nps snapshot (63.70 KB, application/nps)
2012-06-24 16:26 UTC, nicu2005
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-12 15:56:25 UTC
This bug was originally marked as duplicate of bug 172592, 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 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11
OS: Windows 7

User Comments:
GUEST: Cutting text (ctrl + x)



Maximum slowness yet reported was 4962 ms, average is 4962
Comment 1 Exceptions Reporter 2012-06-12 15:56:32 UTC
Created attachment 120746 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-06-14 09:16:48 UTC
org.netbeans.modules.csl.navigation.ElementNode.getMimeRootNodeForOffset()	100.0	4 838 ms (100%)	0,000 ms

5s waiting for a node creation. It must be blocked by some other thread. The only thread that seems to be active is "Editor Parsing Loop" - but that one does not seem to deal with nodes at all. So I am not sure what is going on.

Moving ElementNode.getMimeRootNodeForOffset outside of EDT would definitely helped, however.
Comment 3 Milutin Kristofic 2012-06-14 11:21:50 UTC

*** This bug has been marked as a duplicate of bug 212895 ***
Comment 4 nicu2005 2012-06-24 16:26:08 UTC
Created attachment 121264 [details]
nps snapshot

work in a xhtml file