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 183451 - [69cat][performance] NetBeans runs at 104% cpu on HyperThreading core (2 core) when idle.
Summary: [69cat][performance] NetBeans runs at 104% cpu on HyperThreading core (2 core...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-04 09:23 UTC by esmithbss
Modified: 2011-06-10 08:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiler snapshot of idle IDE state. (19.70 KB, application/x-netbeans-profiler)
2010-04-04 09:24 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-04-04 09:23:34 UTC
Product Version = NetBeans IDE Dev (Build 201004030201)
Operating System = Linux version 2.6.32-18-generic running on i386
Java; VM; Vendor = 1.6.0_19
Runtime = Java HotSpot(TM) Client VM 16.2-b04


On my HT-core box, when NB is idle, it runs roughly 104% of CPU usage (100% = 1 core).

I've attached an internally generated snapshot (.nps) of an "idle" state.
Comment 1 esmithbss 2010-04-04 09:24:51 UTC
Created attachment 96647 [details]
Profiler snapshot of idle IDE state.
Comment 2 esmithbss 2010-04-04 09:59:57 UTC
This may be tied to the debugger integration and where the java process is storing data.

After I shutdown NetBeans, the CPU Usage on my machine did not drop as expected; however, when I shutdown the Firefox session I had been using to debug my application, the CPU utilization dropped to near zero immediately.
Comment 3 Tomas Hurka 2011-06-10 08:40:24 UTC
The problem is caused by several logger-completion threads running in parallel. This problem is fixed in NB 7.0