Bug 113982 - [heapwalker] Cancel unneeded computation of fields / references
[heapwalker] Cancel unneeded computation of fields / references
Status: NEW
Product: profiler
Classification: Unclassified
Component: Base
6.x
PC Windows XP
: P3 (vote)
: 6.x
Assigned To: Jiri Sedlacek
issues@profiler
: PERFORMANCE, VISUALVM
Depends on:
Blocks: 206105
  Show dependency treegraph
 
Reported: 2007-08-28 12:11 UTC by Maksim Khramov
Modified: 2012-05-21 08:14 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2007-08-28 12:11:47 UTC
Product Version: NetBeans IDE Dev (Build 200708270000) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Steps to reproduce:
Open any heapdump file. (I use an Netbeans heapdump and it has about 290000 instances of String).
Select java.lang.String class in classes view and open it in Instances view.
Select first instance in Instances pane using mouse.
- Update of Fields and References panes takes about 2 seconds.
Scroll through instances with keyboard (for example from 1 to 30 instance).
- Update of Fields and References panes takes more than a minute.
Comment 1 Tomas Hurka 2007-08-28 12:46:21 UTC
This happens only when you scroll through instances with keyboard. Lowering priority to P3.
Comment 2 Jiri Sedlacek 2007-10-01 10:20:43 UTC
I would say this is not scrolling but sequential selecting. There is an easy workaround for scrolling - use the
scrollbar. When explicitly selecting an instance, I would expect that you want to see the details for it.

Anyway, a fix will be implemented that cancels resolving fields/references when another instance is selected. Not for 6.0.
Comment 3 Jiri Sedlacek 2008-08-25 11:37:56 UTC
Seems to be fixed by faster computing the references - see Issue 139744. Changing to ENHANCEMENT as canceling unneeded
computations is still a valid improvement. 
Comment 4 Tomas Hurka 2009-04-08 12:54:57 UTC
Milestone cleanup: future->next


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo