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 243740 - org.openide.explorer.view.VisualizerNode.getChildren: LowPerformance took 33403 ms.
Summary: org.openide.explorer.view.VisualizerNode.getChildren: LowPerformance took 334...
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2014-04-10 15:35 UTC by Exceptions Reporter
Modified: 2015-06-11 13:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209055

nps snapshot (80.60 KB, application/nps)
2014-04-10 15:35 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-04-10 15:35:11 UTC
This bug was originally marked as duplicate of bug 172715, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 8

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>
When i started netbeans, it start quick but responses very slow.

Maximum slowness yet reported was 33403 ms, average is 33403
Comment 1 Exceptions Reporter 2014-04-10 15:35:12 UTC
Created attachment 146677 [details]
nps snapshot
Comment 2 Jan Peska 2014-04-11 09:52:22 UTC
Open project action called during the initial Opening projects process - further evaluation needed
Comment 3 Ondrej Vrabec 2014-07-17 08:10:24 UTC
Projects create their nodes too slow and inside the nodes mutex holding a write lock which effectively locks all access to nodes hierarchy.
Build your nodes (or pre-build everything time-consuming) before setting children.keys:
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren -> 
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.createNodes()	97.95994	22,954 ms (98%)	2,896 ms
Comment 4 Tomas Stupka 2015-06-11 13:11:29 UTC
only one report and no duplicate in over a year since nb 8.0 2014-04-10. 
Perhaps already gone. Closing