# HG changeset patch # User xlu # Date 1243035638 25200 # Node ID f1f3a2719a5561025a68c1939215bc47e2a882f7 # Parent 47ffceb239d025cfa3754c5dfe7a6b859b3ca522 6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack Reviewed-by: phh, dice, never, swamyv diff -r 47ffceb239d0 -r f1f3a2719a55 agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java --- 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 */