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 59502 - OK in project's Properties consumes CPU
Summary: OK in project's Properties consumes CPU
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on: 59495
Blocks:
  Show dependency tree
 
Reported: 2005-06-01 14:54 UTC by zikmund
Modified: 2005-09-05 10:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
couple of thread dumps (131.02 KB, text/plain)
2005-06-01 16:02 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-06-01 14:54:47 UTC
Build 200505311800, JDK 1.5.0_03

1) Open IDE with clean userdir
2) Create Java project
3) Wait for classpath scanning finish
4) Open project's Properties 1st time | OK ... it takes approx. 2-3 seconds
5) Open project's Properties 2nd time | OK ... it takes approx. 2-3 seconds
6) Open project's Properties 3rd time | OK ... it takes approx. 8-9 seconds
7) Open project's Properties 4th time | OK ... it takes more than 1 minute
(IDE is not refreshed, CPU is consumed)
Comment 1 zikmund 2005-06-01 14:56:03 UTC
See similar web issue 59495 (probably a duplicate?)
Comment 2 Milan Kubec 2005-06-01 15:40:32 UTC
Should be P0, even my whole computer is couple minutes completly dead.
Comment 3 Tomas Zezula 2005-06-01 15:50:12 UTC
Rather then creating a new priority you should attach the thread dump to find
out what is the problem. It can be eg. gc
Comment 4 Milan Kubec 2005-06-01 16:02:09 UTC
Created attachment 22435 [details]
couple of thread dumps
Comment 5 Tomas Zezula 2005-06-01 18:58:30 UTC
The J2SEPhysicalViewProvider.J2SELogicalViewRootNode listens on the Sources more
than 7000 times using the weak listener. I am not sure how many instances of
J2SEPhysicalViewProvider.J2SELogicalViewRootNode exists. If there are 7000
J2SEPhysicalViewProvider.J2SELogicalViewRootNode or few
J2SEPhysicalViewProvider.J2SELogicalViewRootNodes listen many times on Sources.
Comment 6 Tomas Zezula 2005-06-01 19:13:39 UTC
Ii's caused by:
pkuzel 1.52 #59303 project icon CVS badging.
Comment 7 _ pkuzel 2005-06-01 22:08:21 UTC
J2SEPhysicalViewProvider.java
new revision: 1.53;
Comment 8 Tomas Zezula 2005-06-02 08:58:37 UTC
The issue was fixed by:
J2SEPhysicalViewProvider.java
new revision: 1.53;
Comment 9 zikmund 2005-06-02 11:49:01 UTC
Verified in 20050602-0841 continuos build.