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.
Created attachment 121977 [details] Self-profiling snapshot I am attaching the profiler snapshot. Product Version: NetBeans IDE Dev (Build EaselCSS-315-on-20120712) Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b04 System: Mac OS X version 10.7.4 running on x86_64; UTF-8; en_US (nb)
The thread running org.netbeans.modules.project.ui.ProjectTab seems to take 12s of 12s execution. There seems to be one call to org.openide.loaders.FolderChildren.getNodes() 100.0 12 818 ms (100%) 12 818 ms 1 which then leads to many calls to org.openide.nodes.Children.getNodes() 51.35032 6 582 ms (51,4%) 6 582 ms 314 Possibly bug in lazy node children.
One call to org.openide.loaders.FolderChildren.getNodes() 100.0 12 818 ms (100%) 12 818 ms 1 leads to 314 calls to org.openide.nodes.Children.getNodes() 51.35032 6 582 ms (51,4%) 6 582 ms 314
*** Bug 215686 has been marked as a duplicate of this bug. ***
Probably the same issue in tests http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/CV-multi-UI/629/jdk=JDK%207,label=ubuntu/testReport/org.netbeans.test.ide/IDECommitValidationTest/testProjectsView/?
If repeatable turn on logging: -J-Dorg.openide.loaders.FolderChildren.level=FINE, if not repeatable, I close as worksforme soon.
Please, look at log here (72 MB) http://hudson4qe.cz.oracle.com/job/_Temp-215472/jdk=JDK%207,label=Ubuntu64-slave2/5/consoleText
More logging in ergonomics#396cf3d64e4e
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/396cf3d64e4e User: Jaroslav Tulach <jtulach@netbeans.org> Log: #215472: More logging that automatically turns on and bails out (in ea mode) to find out what is going on
http://hudson4qe.cz.oracle.com/job/_Temp-215472/jdk=JDK%207,label=Ubuntu64-slave2/6/consoleText
[junit] WARNING [org.openide.loaders.FolderChildren..space.hudson.workspace._Temp-215472.jdk.JDK 7.label.Ubuntu64-slave2.testdistribution.qa-functional.work.org-netbeans-modules-java-kit.userdir0.SampleProject.src.sampleproject]: getNodes takes ages, turning on logging [junit] FINE [org.openide.loaders.FolderChildren..space.hudson.workspace._Temp-215472.jdk.JDK 7.label.Ubuntu64-slave2.testdistribution.qa-functional.work.org-netbeans-modules-java-kit.userdir0.SampleProject.src.sampleproject]: waitOptimalResult [junit] FINE [org.openide.loaders.FolderChildren..space.hudson.workspace._Temp-215472.jdk.JDK 7.label.Ubuntu64-slave2.testdistribution.qa-functional.work.org-netbeans-modules-java-kit.userdir0.SampleProject.src.sampleproject]: waitOptimalResult: waitProcessingFinished [junit] FINE [org.openide.loaders.FolderChildren..space.hudson.workspace._Temp-215472.jdk.JDK 7.label.Ubuntu64-slave2.testdistribution.qa-functional.work.org-netbeans-modules-java-kit.userdir0.SampleProject.src.sampleproject]: original before wait: org.openide.nodes.FilterNode[name=null][Name=SampleClass11, displayName=SampleClass11.java] [junit] FINE [org.openide.loaders.FolderChildren..space.hudson.workspace._Temp-215472.jdk.JDK 7.label.Ubuntu64-slave2.testdistribution.qa-functional.work.org-netbeans-modules-java-kit.userdir0.SampleProject.src.sampleproject]: original after wait: org.openide.nodes.FilterNode[name=null][Name=SampleClass11, displayName=SampleClass11.java] [junit] FINE [org.openide.loaders.FolderChildren..space.hudson.workspace._Temp-215472.jdk.JDK 7.label.Ubuntu64-slave2.testdistribution.qa-functional.work.org-netbeans-modules-java-kit.userdir0.SampleProject.src.sampleproject]: Waiting for delayed node org.openide.loaders.FolderChildren$DelayedNode[name=null][Name=SampleClass11, displayName=SampleClass11.java]
*** This bug has been marked as a duplicate of bug 221279 ***