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 192193

Summary: 30s - delete event -> DataObjectPool.getTargets() -> blocks on DataObjectPool
Product: platform Reporter: massimo <massimo>
Component: Data SystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: azizur, dbalek, exceptions_reporter, gorrus, krissco, matusdekanek, misterm
Priority: P3 Keywords: PERFORMANCE
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 158737
Attachments: nps snapshot
nps snapshot
nps snapshot

Description massimo 2010-11-19 20:21:17 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP

User Comments:
matusdekanek: running a web project or profiling it (tomcat) somehow causes IDE to heavily utilize processor. Any action then causes slowness.

matusdekanek: stopping profiling session

massimo: Was opening a Matisse JPanel at startup

GUEST: Searching for external changes...



Maximum slowness yet reported was 29141 ms, average is 16833
Comment 1 massimo 2010-11-19 20:21:24 UTC
Created attachment 103117 [details]
nps snapshot
Comment 2 misterm 2010-12-08 19:45:50 UTC
Created attachment 103754 [details]
nps snapshot
Comment 3 Stanislav Aubrecht 2010-12-09 13:56:53 UTC
org.openide.loaders.DataObjectPool.find() is too slow...
Comment 4 Egor Ushakov 2010-12-15 09:58:28 UTC
Created attachment 104109 [details]
nps snapshot
Comment 5 Jaroslav Tulach 2011-01-08 16:01:06 UTC
org.openide.loaders.DataObjectPool.getTargets() takes a lock, blocks a recognition and calls into File.listFiles().

The report from Nov 19, is the most important one.
Comment 6 Jaroslav Tulach 2011-02-18 20:51:33 UTC
ergonomics#858d977fa9aa
Comment 7 Jaroslav Tulach 2011-02-19 11:20:11 UTC
*** Bug 193520 has been marked as a duplicate of this bug. ***
Comment 8 Quality Engineering 2011-02-20 10:34:53 UTC
Integrated into 'main-golden', will be available in build *201102200501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/858d977fa9aa
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #192193: Don't call fileObject.getChildren() under YAGL as the I/O can block for a while
Comment 9 Jaroslav Tulach 2011-04-13 13:20:18 UTC
*** Bug 197276 has been marked as a duplicate of this bug. ***
Comment 10 Jaroslav Tulach 2011-07-18 11:50:28 UTC
*** Bug 192158 has been marked as a duplicate of this bug. ***
Comment 11 Jaroslav Tulach 2011-11-21 14:15:10 UTC
*** Bug 192194 has been marked as a duplicate of this bug. ***