Mercurial > hg > graal-compiler
changeset 11030:bed34a7a3b9b
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
author | coleenp |
---|---|
date | Fri, 21 Jun 2013 10:57:00 -0400 |
parents | 9ba41a4a71ff |
children | b7bc7c94b4b5 |
files | src/share/vm/runtime/frame.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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()); }