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 239779 - org.openide.nodes.EntrySupportLazy.getNodesCount: LowPerformance took 71247 ms.
Summary: org.openide.nodes.EntrySupportLazy.getNodesCount: LowPerformance took 71247 ms.
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
: 226132 242031 (view as bug list)
Depends on:
Reported: 2013-12-25 07:09 UTC by Alexander Simon
Modified: 2015-11-17 19:02 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203258

nps snapshot (209.97 KB, application/nps)
2013-12-25 07:09 UTC, Alexander Simon

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-12-25 07:09:41 UTC
Build: NetBeans IDE 7.4 (Build 20131204-d7efa1bcda5e)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18

User Comments:
vkvashin: Just browsed files in explorer (Favorites view)

alexvsimon: do not remember

Maximum slowness yet reported was 71247 ms, average is 50931
Comment 1 Alexander Simon 2013-12-25 07:09:44 UTC
Created attachment 143438 [details]
nps snapshot
Comment 2 Jan Peska 2014-01-08 12:39:07 UTC
Data System Nodes thread block Chidren.MUTEX for 70s - it seems it should not look for data objects (DataObject.find()) in node creation. Reassigning to Data Systems
Comment 3 Ondrej Vrabec 2014-02-18 09:13:45 UTC
*** Bug 242031 has been marked as a duplicate of this bug. ***
Comment 4 Ondrej Vrabec 2014-02-18 09:14:49 UTC
Another dup is in bug #242031:
> AWT waits for Children.MUTEX write lock that is held by  "org.netbeans.modules.project.ui.ProjectTab" running NodeOp.findPath. And that thread is stuck by accessing disk in DataObject.find - unfortunately because this is running outside of EDT, FolderChildren does not create a delayed/lazy nodes but a full node backed up by a real dataobject. So we're back in the same situation as if DataObject.find was called in AWT.
> Solutions could be:
> 1) ALWAYS create the Delayed node
> 2) turn off Synchronize Views with Editor - i assume that's why "org.netbeans.modules.project.ui.ProjectTab" is running
> 3) "org.netbeans.modules.project.ui.ProjectTab" runs NodeOp.find() in EDT
From these only 1) could resolve all problems.
Comment 5 Ondrej Vrabec 2014-03-05 12:07:50 UTC
*** Bug 226132 has been marked as a duplicate of this bug. ***