Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 190903 - [HeapWalker] incorrect computation of GC roots
[HeapWalker] incorrect computation of GC roots
Product: profiler
Classification: Unclassified
Component: Engine
All All
: P2 (vote)
: 7.0
Assigned To: Tomas Hurka
Depends on:
  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


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
Comment 1 Tomas Hurka 2010-10-11 13:22:17 UTC
Test heap dump is available here: <>
Comment 2 Tomas Hurka 2010-10-11 14:26:08 UTC
Fixed in profiler-main

changeset:   179217:1eb359d32558
user:        Tomas Hurka <>
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. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo