agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot-8003348 Cdiff agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java

agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java

Print this page
8003348: SA can not read core file on OS X

*** 1,7 **** /* ! * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 318,327 **** --- 318,331 ---- public Address getStackBase() { return stackBaseField.getValue(addr); } + public long getStackBaseValue() { + return VM.getVM().getAddressValue(getStackBase()); + } + public long getStackSize() { return stackSizeField.getValue(addr); } /** Gets the Java-side thread object for this JavaThread */
agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File