# HG changeset patch # User Doug Simon # Date 1335810407 -7200 # Node ID 28577a53d3a75f3c2b3a413ec9d337605ab2e9d6 # Parent a53162ca82195ac649cf3a51e25feaa96035d62f added address and offset to description of a compiled Java frame in a hs_err stack dump diff -r a53162ca8219 -r 28577a53d3a7 src/share/vm/runtime/frame.cpp --- a/src/share/vm/runtime/frame.cpp Mon Apr 30 20:15:20 2012 +0200 +++ b/src/share/vm/runtime/frame.cpp Mon Apr 30 20:26:47 2012 +0200 @@ -740,8 +740,9 @@ } else if (_cb->is_nmethod()) { methodOop m = ((nmethod *)_cb)->method(); if (m != NULL) { + address code = _cb->code_begin(); m->name_and_sig_as_C_string(buf, buflen); - st->print("J %s", buf); + st->print("J %s [" PTR_FORMAT "+%d]", buf, code, pc() - code); } else { st->print("J " PTR_FORMAT, pc()); }