提交 93d33198 编写于 作者: X xlu

6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack

Reviewed-by: phh, dice, never, swamyv
上级 70e8531d
......@@ -317,11 +317,11 @@ public class JavaThread extends Thread {
}
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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册