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.
Summary: | Profiler consumes vast quantities of CPU in setup dialog | ||
---|---|---|---|
Product: | profiler | Reporter: | Jesse Glick <jglick> |
Component: | Base | Assignee: | Jiri Sedlacek <jis> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P2 | Keywords: | PERFORMANCE, THREAD |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Some thread dumps |
Description
Jesse Glick
2007-06-22 01:45:43 UTC
Created attachment 44233 [details]
Some thread dumps
Marking with THREAD since besides the extreme slowness, a major part of the problem is that all this computation happens in EQ with no progress indication or way to cancel. Looks similar to your Issue 81765, just the thread dump is a bit different. Could be dupe. In issue #81765 it is said that "computing of java source roots was improved" but it is still unusable, I think. Projects, subprojects, source roots and all packages are now processed lazily after selecting profiling task & settings in separate thread. Fixed for Beta1. jglick, could you please verify this issue? Open ide/allmodules in a dev build (basic config), JDK 6, wait for CP scanning to end. Profile Main Project. Click Part of Application, Filter = Profile Project & Subprojects Classes, click Show filter value. As expected, shows "Computing filter..." and disk starts thrashing. After clicking Close button, task is not cancelled, which is annoying, but it does finish after a couple minutes. Clicking Show filter value again displays a lot of packages in a JList, which looks OK. I can only presume these are all module packages - the list is not apparently sorted so I cannot find anything in particular. Thanks for your feedback! List of packages is now alphabetically sorted, cancelling the dialog - stopping searching for packages - is tracked by Issue 115126. |