# HG changeset patch # User xlu # Date 1243035638 25200 # Node ID 073fc25fed0cfca5b19bdf292451ac05256cb8f1 # Parent cf13b84eb2f90a566dcbc8761100301dfdfbf547 6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack Reviewed-by: phh, dice, never, swamyv diff -r cf13b84eb2f9 -r 073fc25fed0c hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java Wed May 20 09:36:53 2009 +0200 +++ b/hotspot/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 */