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: | 400x ContextManager.isEnabledOnDataImpl: took 39083 ms. | ||
---|---|---|---|
Product: | platform | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Actions | Assignee: | Jan Peska <JPESKA> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asmotrich, atehrani, cancelerx, csbubbles, EduardKarelEtc, ekeyser, felipbou, gooddreams, isuftin, jbecicka, jvenderb, minoleg, mist.cz, Poweruser, sidthesloth, slavikme, tomoke, way5, yameste |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 207802 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2014-02-20 03:22:46 UTC
Created attachment 145423 [details]
nps snapshot
A long time issue also in other versions. To reproduce it just open a very big project that has many classes, clean and build the project, memory use will increase to a high level, at least 1g, or even more than 2g. And then each time when you switch back to project navigation pane to click a package node (open package folder), it will no response for a long time. Most of the time is spent in Lookup methods. Reassigning to Lookup for further evaluation. Looking at http://statistics.netbeans.org/exceptions/exception.do?id=730685 One call to org.openide.explorer.DefaultEMLookup.updateLookups() 100.0 16 935 ms (100%) 16 095 ms 1 yields 42 calls to org.openide.awt.ContextManager$LSet.resultChanged() 97.503716 16 512 ms (97,5%) 15 672 ms 42 and that triggers 400 calls to org.openide.awt.ContextManager.isEnabledOnData() 50.3666 8 529 ms (50,4%) 8 257 ms 405 about 200 reports Jan, can you explain why this issue has been assigned to lookup category? What was your reasoning? Integrated into 'main-silver', will be available in build *201407290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e6e65c1bd078 User: Jan Peska <JPESKA@netbeans.org> Log: Issue #242126 - 400x ContextManager.isEnabledOnDataImpl: took 39083 ms. Remove also lookup result listener in LSet instances in unregisterListener method. Add tests. |