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 192158 - 21s in ChildrenSupport.rescanChildren() via delete event and getTargets()
Summary: 21s in ChildrenSupport.rescanChildren() via delete event and getTargets()
Status: RESOLVED DUPLICATE of bug 192193
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-11-19 07:27 UTC by krissco
Modified: 2011-07-18 11:50 UTC (History)
32 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159419


Attachments
nps snapshot (9.09 KB, application/nps)
2010-11-19 07:27 UTC, krissco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description krissco 2010-11-19 07:27:35 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP

User Comments:
xpilot: Started debuggging of the project

xpilot: Tried to debug project

krissco: I switched back to the IDE after browsing the Internet.

tnleeuw: Sorry, not sure what exactly triggered this warning this time... Was looking at some Java code while in the background a Maven project build is running.
Perhaps the slowness comes from the Navigator view populating itself... ?

tnleeuw: Opening a Spring Context XML file

GUEST: Generatign RESTful ws in Maven project

flotho: updating modules from 6.7

tnleeuw: Opening Java file in a new project, containing compilation errors.

GUEST: Opened a folder with alot of subfolders on a local SATA disk.



Maximum slowness yet reported was 20828 ms, average is 8387
Comment 1 krissco 2010-11-19 07:27:45 UTC
Created attachment 103094 [details]
nps snapshot
Comment 2 Marian Mirilovic 2011-05-30 09:18:56 UTC
172 duplicates -> P2 at least
Comment 3 Yulia Novozhilova 2011-06-17 14:58:14 UTC
According to snapshots the vast majority of the time is spent in the method org.openide.loaders.DataObjectPool.find(). I suppose it waits for some another thread that locks "this" object. Reassigning to Datasystems for investigation.
Comment 4 Jaroslav Tulach 2011-06-19 19:43:22 UTC
Yes, the DataObjectPool.find is blocked by other thread which does:
org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.rescanChildren()
Comment 5 Jaroslav Tulach 2011-06-22 11:38:57 UTC
Won't be fixed for 7.0.1.
Comment 6 Jaroslav Tulach 2011-07-18 11:50:28 UTC
The snapshot attached to this issue is without any doubts duplicate of bug 192193.

*** This bug has been marked as a duplicate of bug 192193 ***