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 22176 - Performance problem with watches (probably)
Summary: Performance problem with watches (probably)
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 26581
  Show dependency tree
 
Reported: 2002-04-07 21:02 UTC by eadams
Modified: 2010-04-29 09:09 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Test Case (5.78 KB, patch)
2002-04-07 21:04 UTC, eadams
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eadams 2002-04-07 21:02:31 UTC
Some types of watches take a very long time to update.
I'm running on Win2000, 750Mhz, 256Mb.

Attached is a program that demonstrates the problem.
(This a program from my daughter's CS class, you'll have
to change the input filenames and put a bit of data in 
them.)

Set bps on lines 22 and 29 and do a watch on "dis".
Run until control hits the one on line 29.  Then do a restart. 
It takes nearly 30 seconds after the bp is hit before the watch
window is updated with

	dis = >identifier cannot be resolved: dis<

during this time the CPU is at 100%.  The CPU remains at 
100% for close to another 25 seconds.
Comment 1 eadams 2002-04-07 21:04:11 UTC
Created attachment 5319 [details]
Test Case
Comment 2 Jan Jancura 2002-04-08 16:44:46 UTC
I can not reproduce it on my machine (WinNT, JDK1.4.0-beta3).
Can you attach info about your JDK and ide.log, please?

It can be caused by potential memory leak - can you test it with fresh
netbeans session (first debugging after netbeans ide start), please?

- we have high level goal to improve runtime performace for
NetBeans3.4, and I plan to do some more advanced performace testing to
find such performace problems.

Thanks for your time.
Comment 3 Marek Grummich 2002-07-22 09:00:05 UTC
Target milestone was changed from '3.4' to TBD.
Comment 4 Marek Grummich 2002-07-22 09:02:59 UTC
Target milestone was changed from '3.4' to TBD.
Comment 5 Søren Caspersen 2002-07-22 13:30:54 UTC
I am experiencing a similar problem. It also seems related 
to watches. I've experience the same long wait of 100% CPU 
load. Even worst it is followed by irratic behaivor: wrong 
results of simple function calls. Also the debugger 
continued by itself (was stopped at a breakpoint) after a 
tooltip watch.

This was on NB3.3.2, Windows XP, JDK1.3.1 AND JDK1.4.0. I 
am unable to reproduce the problem on another computer 
NB3.3.2, Win2K, JDK1.3.1. Maybe theres a bug in the VM? 
The log shows no indication of anything ever going wrong
Comment 6 Jan Jancura 2003-06-09 15:36:39 UTC
Should be fixed in release35
Comment 7 Jan Jancura 2003-06-09 15:40:09 UTC
Should be fixed in release35
Comment 8 Quality Engineering 2010-04-29 09:09:56 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.