# HG changeset patch # User coleenp # Date 1371826620 14400 # Node ID bed34a7a3b9b3ab589e3cc11bef2bc2b3ec362b0 # Parent 9ba41a4a71fffac094801fdc686ad0ad03f0c965 8017177: more explicit code location information in hs_err crash log Summary: Add code pc location for compiled code Reviewed-by: kvn, coleenp Contributed-by: doug.simon@oracle.com diff -r 9ba41a4a71ff -r bed34a7a3b9b src/share/vm/runtime/frame.cpp --- a/src/share/vm/runtime/frame.cpp Fri Jun 21 10:50:19 2013 -0400 +++ b/src/share/vm/runtime/frame.cpp Fri Jun 21 10:57:00 2013 -0400 @@ -713,7 +713,8 @@ Method* m = ((nmethod *)_cb)->method(); if (m != NULL) { m->name_and_sig_as_C_string(buf, buflen); - st->print("J %s", buf); + st->print("J %s @ " PTR_FORMAT " [" PTR_FORMAT "+" SIZE_FORMAT "]", + buf, _pc, _cb->code_begin(), _pc - _cb->code_begin()); } else { st->print("J " PTR_FORMAT, pc()); }