Bug 190903 - [HeapWalker] incorrect computation of GC roots
[HeapWalker] incorrect computation of GC roots
Status: RESOLVED FIXED
Product: profiler
Classification: Unclassified
Component: Engine
6.x
All All
: P2 (vote)
: 7.0
Assigned To: Tomas Hurka
issues@profiler
: VISUALVM
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-11 12:27 UTC by Tomas Hurka
Modified: 2010-10-11 14:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2010-10-11 12:27:51 UTC
Instance on any class implicitly holds its class. This information is not reflected in the heapwalker
and as a result GC root path for some instances are not computed correctly. As a result open attached heap dump and compute GC root path for instance com.sun.tools.javac.code.Scope#29.
Comment 1 Tomas Hurka 2010-10-11 13:22:17 UTC
Test heap dump is available here: <http://profiler.netbeans.org/download/files/class_instance_heapdump.hprof.bz2>
Comment 2 Tomas Hurka 2010-10-11 14:26:08 UTC
Fixed in profiler-main

changeset:   179217:1eb359d32558
user:        Tomas Hurka <thurka@netbeans.org>
date:        Mon Oct 11 16:13:59 2010 +0200
summary:     bugfix #190903, synthetic <class> field added to simulate that instance holds its class


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