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.openide.nodes.Children$Keys.applyKeys: LowPerformance - EDT waiting for Children.MUTEX | ||
---|---|---|---|
Product: | platform | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Data Systems | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | NEW --- | ||
Severity: | normal | CC: | aquaglia, davidhbrown |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 199987 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2013-05-23 13:35:30 UTC
Created attachment 134812 [details]
nps snapshot
org.openide.loaders.FolderChildren.createNode(FolderChildren.java:260) calls DataObject.find => stuck somewhere down waiting for ModuleManager Snapshots: In all cases, EDT is waiting for Children.MUTEX. 769931: ProjectsRootNode is reading source groups under the MUTEX. 773090: ProjectTab.keepExpansion calls DataObject find under the MUTEX. Maybe DataObjects can be initialized before expanding the tree. 781336: EntrySupportLazy.setEntriesSimple calls HashSet.removaAll(ArrayList ) (I'm sorry for accidentally submitting previous comment.) Snapshots: In all cases, EDT is waiting for Children.MUTEX. 769931: ProjectsRootNode is reading source groups under the MUTEX. 773090: ProjectTab.keepExpansion calls DataObject find under the MUTEX. - Maybe DataObjects can be initialized before expanding the tree. 781336: EntrySupportLazy.setEntriesSimple() calls HashSet.removaAll(collection) - The collection is an instance of ArrayList. Using HashSet instead or converting to HashSet may help if the collection is big. In this case, removeAll took 49 s. I'm ignoring snapshots from older releases. Thank you for understanding. > 781336: EntrySupportLazy.setEntriesSimple() calls HashSet.removaAll(collection) > - The collection is an instance of ArrayList. Using HashSet instead > or converting to HashSet may help if the collection is big. > In this case, removeAll took 49 s. Fixed: http://hg.netbeans.org/core-main/rev/2997f8301b29 Integrated into 'main-silver', will be available in build *201510310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2997f8301b29 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #230180: Fix slow hashSet.removeAll(bigArrayList) |