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 189477 - Although the ide is not used the task manager shows that netbeans consumes 50% CPU(dual core machine) - the ide seems a little bit slow, but is still responsive.
Summary: Although the ide is not used the task manager shows that netbeans consumes 50...
Status: RESOLVED DUPLICATE of bug 191717
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-08-13 09:41 UTC by compojoom
Modified: 2011-06-10 08:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Snapshot for aroudn 30 secs (30.02 KB, application/octet-stream)
2010-08-13 09:42 UTC, compojoom
Details
snapshot for several minutes (26.83 KB, application/octet-stream)
2010-08-13 09:43 UTC, compojoom
Details
here again the ide is doing something in the background without indicating what (12.41 KB, application/octet-stream)
2010-08-13 11:26 UTC, compojoom
Details
again using 50% cpu and apparently doing nothing (32.46 KB, application/octet-stream)
2010-08-13 14:33 UTC, compojoom
Details
This is a snapshot of netbeans 7.0 beta - the ide is also not in use, but netbeans again consumes a lot of cpu resources... (1.75 MB, application/octet-stream)
2010-12-18 08:46 UTC, compojoom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description compojoom 2010-08-13 09:41:26 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_19
Runtime = Java HotSpot(TM) Client VM 16.2-b04
Comment 1 compojoom 2010-08-13 09:42:57 UTC
Created attachment 101365 [details]
Snapshot for aroudn 30 secs
Comment 2 compojoom 2010-08-13 09:43:23 UTC
Created attachment 101366 [details]
snapshot for several minutes
Comment 3 compojoom 2010-08-13 11:26:26 UTC
Created attachment 101373 [details]
here again the ide is doing something in the background without indicating what
Comment 4 compojoom 2010-08-13 14:33:53 UTC
Created attachment 101375 [details]
again using 50% cpu and apparently doing nothing
Comment 5 compojoom 2010-12-18 08:46:47 UTC
Created attachment 104237 [details]
This is a snapshot of netbeans 7.0 beta - the ide is also not in use, but netbeans again consumes a lot of cpu resources...
Comment 6 Marian Mirilovic 2011-05-24 14:29:10 UTC
reassign to performance team for evaluation ...
Comment 7 Tomas Hurka 2011-06-10 08:19:05 UTC
Based on the last npss snapshot, the problem is in tasklist module.


 "Java Task Provider" - Thread t@436
    java.lang.Thread.State: RUNNABLE
	at org.netbeans.modules.masterfs.filebasedfs.naming.FileName.getName(FileName.java:107)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.getPath(BaseFileObj.java:180)
	at org.netbeans.modules.tasklist.impl.TaskComparator$1.compare(TaskComparator.java:84)
	at org.netbeans.modules.tasklist.impl.TaskComparator$1.compare(TaskComparator.java:65)
	at java.util.Arrays.mergeSort(Arrays.java:1293)
	at java.util.Arrays.mergeSort(Arrays.java:1282)
	at java.util.Arrays.sort(Arrays.java:1210)
	at java.util.Collections.sort(Collections.java:159)
	at org.netbeans.modules.tasklist.impl.TaskList.setTasks(TaskList.java:132)
	at org.netbeans.modules.tasklist.impl.TaskManagerImpl.setTasks(TaskManagerImpl.java:375)
	at org.netbeans.spi.tasklist.PushTaskScanner$Callback.setTasks(PushTaskScanner.java:146)
	at org.netbeans.modules.parsing.impl.indexing.errors.TaskProvider.updateErrorsInRoot(TaskProvider.java:239)
	at org.netbeans.modules.parsing.impl.indexing.errors.TaskProvider.access$400(TaskProvider.java:81)
	at org.netbeans.modules.parsing.impl.indexing.errors.TaskProvider$Work.run(TaskProvider.java:316)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1960)
Comment 8 Tomas Stupka 2011-06-10 08:28:58 UTC

*** This bug has been marked as a duplicate of bug 191717 ***