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.
Build: NetBeans IDE Dev (Build 090901) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User comments: Expanding a node Maximum slowness yet reported was 5573 ms, average is 4397
Build: NetBeans IDE Dev (Build 200909030951) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows XP, 5.1, x86 User Comments: Maximum slowness yet reported was 10529 ms, average is 5419
Created attachment 87109 [details] nps snapshot
This issue already has 6 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=157700
As I wrote in issue #167506 DelegateChildren should be asynchronous.
Milosi, please take a look as it is all your code. Thanks.
*** Issue 173500 has been marked as a duplicate of this issue. ***
This issue already has 13 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=157700
*** Issue 173449 has been marked as a duplicate of this issue. ***
This issue already has 24 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=157700
http://hg.netbeans.org/main/rev/9e319c1450ee
It would be ultimately simpler to reuse asynchronous support provided by http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.html#create(org.openide.nodes.ChildFactory,, %20boolean) The initial diff might be bigger, but it would reduce the number of your code and also correctly implement behaviour of getNodes(true).
Integrated into 'main-golden', will be available in build *200910161401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9e319c1450ee User: Milos Kleint <mkleint@netbeans.org> Log: #171399 offload work from adNotify to Rp thread, add loading node