Mercurial > hg > release > icedtea7-forest-2.5 > hotspot
changeset 4844:2afa14dcd667
8015576: CMS: svc agent throws java.lang.RuntimeException: No type named "FreeList" in database
Summary: Need to rename some variables in svc code after fix JDK-7131629.
Reviewed-by: poonam, dholmes
author | vkempik |
---|---|
date | Thu, 18 Jul 2013 19:26:27 +0400 |
parents | aeca24b2a9e5 |
children | 7abbb274df31 |
files | agent/src/share/classes/sun/jvm/hotspot/memory/BinaryTreeDictionary.java agent/src/share/classes/sun/jvm/hotspot/memory/FreeList.java |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/memory/BinaryTreeDictionary.java Wed Jul 17 23:43:11 2013 +0200 +++ b/agent/src/share/classes/sun/jvm/hotspot/memory/BinaryTreeDictionary.java Thu Jul 18 19:26:27 2013 +0400 @@ -40,8 +40,8 @@ } private static synchronized void initialize(TypeDataBase db) { - Type type = db.lookupType("BinaryTreeDictionary"); - totalSizeField = type.getCIntegerField("_totalSize"); + Type type = db.lookupType("BinaryTreeDictionary<FreeChunk>"); + totalSizeField = type.getCIntegerField("_total_size"); } // Fields
--- a/agent/src/share/classes/sun/jvm/hotspot/memory/FreeList.java Wed Jul 17 23:43:11 2013 +0200 +++ b/agent/src/share/classes/sun/jvm/hotspot/memory/FreeList.java Thu Jul 18 19:26:27 2013 +0400 @@ -41,7 +41,7 @@ } private static synchronized void initialize(TypeDataBase db) { - Type type = db.lookupType("FreeList"); + Type type = db.lookupType("FreeList<FreeChunk>"); sizeField = type.getCIntegerField("_size"); countField = type.getCIntegerField("_count"); headerSize = type.getSize();