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: | org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.analyzeFilter: LowPerformance took 43953 ms. | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Code Model | Assignee: | Alexander Simon <alexvsimon> |
Status: | VERIFIED FIXED | ||
Severity: | normal | Keywords: | PERFORMANCE, REGRESSION |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 222421 |
Attachments: |
nps snapshot
Here is a full thread dump that was taken while UI was still frozen (I think) |
Description
Vladimir Kvashin
2016-02-08 09:05:06 UTC
Created attachment 158407 [details]
nps snapshot
Created attachment 158408 [details]
Here is a full thread dump that was taken while UI was still frozen (I think)
I think the erroneous place is here: CallGraphPopupAction.performAction seems to peform its work or at least part of it in EDT. "AWT-EventQueue-0" prio=10 tid=0x00007f9e441ce000 nid=0x5f6d runnable [0x00007f9e6d6e2000] java.lang.Thread.State: RUNNABLE at java.lang.Object.getClass(Native Method) at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.equals(OffsetableBase.java:256) at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.equals(OffsetableDeclarationBase.java:643) at org.netbeans.modules.cnd.api.model.xref.CsmReferenceSupport.sameDeclaration(CsmReferenceSupport.java:150) at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.initKind(ReferenceImpl.java:277) at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObjectImpl(ReferenceImpl.java:138) at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObject(ReferenceImpl.java:96) at org.netbeans.modules.cnd.navigation.callgraph.CallModelImpl$DeclarationUIN.findDeclaration(CallModelImpl.java:467) at org.netbeans.modules.cnd.navigation.callgraph.CallModelImpl$DeclarationUIN.getDeclaration(CallModelImpl.java:404) at org.netbeans.modules.cnd.navigation.callgraph.CallModelImpl$DeclarationUIN.access$100(CallModelImpl.java:376) at org.netbeans.modules.cnd.navigation.callgraph.CallModelImpl.getRoot(CallModelImpl.java:110) at org.netbeans.modules.cnd.callgraph.impl.CallGraphPanel.setModel(CallGraphPanel.java:472) at org.netbeans.modules.cnd.callgraph.impl.CallGraphTopComponent.setModel(CallGraphTopComponent.java:117) at org.netbeans.modules.cnd.callgraph.impl.CallGraphPopupAction.performAction(CallGraphPopupAction.java:70) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95) at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116) at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99) at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:583) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) It looks like a regression after fixing bug #196979. See change set: http://hg.netbeans.org/cnd-main/rev/cbac04795d79 Lines 12.410 - 12.428 should be rewritten. fixed, change set: fbaf278b680 (In reply to Alexander Simon from comment #5) > fixed, change set: > fbaf278b680 right change set: http://hg.netbeans.org/cnd-main/rev/ffbaf278b680 Integrated into 'main-silver', will be available in build *201602120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ffbaf278b680 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #257884 org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.analyzeFilter: LowPerformance took 43953 ms. verified in builds on enum server Verified in NetBeans 8.1 with latest updates. |