Mercurial > hg > graal-compiler
diff src/share/vm/runtime/sharedRuntime.cpp @ 1936:8d88c9ac9247
Correct deopt handler entry. New flag -XX:+TraceSignals. More detailed deopt printing.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 23 Dec 2010 18:13:28 +0100 |
parents | 2d26b0046e0d |
children | 00bc9eaf0e24 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Wed Dec 22 19:47:39 2010 +0100 +++ b/src/share/vm/runtime/sharedRuntime.cpp Thu Dec 23 18:13:28 2010 +0100 @@ -730,6 +730,9 @@ _implicit_null_throws++; #endif if (UseC1X) { + if (TraceSignals) { + tty->print_cr("calling implicit call stub relative pc=%d method name = %s", pc - nm->entry_point(), nm->method()->name()->as_C_string()); + } target_pc = Runtime1::entry_for(Runtime1::c1x_global_implicit_null_id); } else { target_pc = nm->continuation_for_implicit_exception(pc); @@ -750,6 +753,7 @@ _implicit_div0_throws++; #endif if (UseC1X) { + tty->print_cr("c1x implicit div0"); target_pc = Runtime1::entry_for(Runtime1::c1x_throw_div0_exception_id); } else { target_pc = nm->continuation_for_implicit_exception(pc);