changeset 822:f1f3a2719a55

6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack Reviewed-by: phh, dice, never, swamyv
author xlu
date Fri, 22 May 2009 16:40:38 -0700
parents 47ffceb239d0
children 085dd9ee61aa
files agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java	Wed May 20 09:36:53 2009 +0200
+++ b/agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java	Fri May 22 16:40:38 2009 -0700
@@ -317,11 +317,11 @@
   }
 
   public Address getStackBase() {
-    return stackBaseField.getValue();
+    return stackBaseField.getValue(addr);
   }
 
   public long getStackSize() {
-    return stackSizeField.getValue();
+    return stackSizeField.getValue(addr);
   }
 
   /** Gets the Java-side thread object for this JavaThread */