hg: hsx/hotspot-rt/hotspot: 8005278: Serviceability Agent: jmap -heap and jstack -m fail
yumin.qi at oracle.com
yumin.qi at oracle.com
Fri Jan 25 03:20:28 PST 2013
Changeset: 6cf2530f7fd3
Author: minqi
Date: 2013-01-24 23:30 -0800
URL: http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/6cf2530f7fd3
8005278: Serviceability Agent: jmap -heap and jstack -m fail
Summary: BinaryTreeDictionary is typedef'ed as AFLBinaryTreeDictionary in vmStructs and in SA we still use old name for that. FreeList now is a template based class which is not reflect in SA type library. When SA does calculation of heap for CMS, the former will cause failure to retrieve BinaryTreeDictionary sine the rename. The later will fail wherever it is used in SA.
Reviewed-by: dholmes, sla, coleenp
Contributed-by: yunda.mly at taobao.com
+ agent/src/share/classes/sun/jvm/hotspot/memory/AFLBinaryTreeDictionary.java
- agent/src/share/classes/sun/jvm/hotspot/memory/BinaryTreeDictionary.java
! agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java
! agent/src/share/classes/sun/jvm/hotspot/memory/FreeList.java
! src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp
More information about the hotspot-runtime-dev
mailing list