OpenJDK / jdk / hs
changeset 40629:514bf0744294
8164319: CLHSDB dumpcodecache throws StackOverflowError
Reviewed-by: dholmes, dsamersoff
author | ysuenaga |
---|---|
date | Fri, 19 Aug 2016 01:20:39 -0400 |
parents | 0912b2911fe3 |
children | 661bccd1031a ed82623d7831 |
files | hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/CodeBlob.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/CodeBlob.java Thu Aug 18 21:37:26 2016 -0400 +++ b/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/CodeBlob.java Fri Aug 19 01:20:39 2016 -0400 @@ -32,6 +32,7 @@ import sun.jvm.hotspot.types.Type; import sun.jvm.hotspot.types.TypeDataBase; import sun.jvm.hotspot.utilities.Assert; +import sun.jvm.hotspot.utilities.CStringUtilities; import java.io.PrintStream; import java.util.Observable; @@ -115,7 +116,7 @@ } public String getName() { - return getName(); + return CStringUtilities.getString(nameField.getValue(addr)); } /** OopMap for frame; can return null if none available */