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.
I've had a couple of cases of the CPU suddenly going up over 100% on my 17" MacBookPro running Snow Leopard when using Netbeans 7.0M2. It lasted for around 10 minutes I'd say. The profiling during this period is attached. Thanks, //matt
There's not attachment, closing as incomplete.
Created attachment 102848 [details] Stack trace during CPU spike I did attach it originally, I will re-attach
Created attachment 102853 [details] Profiler during CPU spike
This time, it was the task list to occupy your CPU for 43s (and likely cause heavy I/O). What worries me is that most of the time was spent in the TaskComparator during (repeated, it seems) sorting of the TaskList.
The root problem might as well lie in the parsing/indexing, which ends up calling setTasks 383 times (where the Tasklist ends up re-sorting the list 952 times).
*** Bug 189488 has been marked as a duplicate of this bug. ***
*** Bug 192532 has been marked as a duplicate of this bug. ***
Increasing to P2 as it has P2 duplicate.
Calling started|finished on callback jet-main 4a18846ecab4
Integrated into 'main-golden', will be available in build *201012030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/4a18846ecab4 User: Tomas Zezula <tzezula@netbeans.org> Log: #191717:Random periods of CPU over 100%
will store tasks in a treeset and skip sorting after each new task addition
Removing the started finished calls as you wish :-) Jet-main 308a25f0635c
http://hg.netbeans.org/core-main/rev/fdd0c85808c7 fixed
Integrated into 'main-golden', will be available in build *201012040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fdd0c85808c7 User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #191717 - Random periods of CPU over 100%
Integrated into 'main-golden', will be available in build *201012050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/308a25f0635c User: Tomas Zezula <tzezula@netbeans.org> Log: #191717:Random periods of CPU over 100%
*** Bug 192840 has been marked as a duplicate of this bug. ***
*** Bug 189477 has been marked as a duplicate of this bug. ***