Mercurial > hg > truffle
diff src/share/vm/runtime/deoptimization.cpp @ 7206:d2f8c38e543d
Merge
author | roland |
---|---|
date | Fri, 07 Dec 2012 01:09:03 -0800 |
parents | d0aa87f04bd5 ee32440febeb |
children | 291ffc492eb6 6a51fc70a15e |
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp Fri Nov 30 17:00:32 2012 -0800 +++ b/src/share/vm/runtime/deoptimization.cpp Fri Dec 07 01:09:03 2012 -0800 @@ -1242,8 +1242,8 @@ nmethodLocker nl(fr.pc()); // Log a message - Events::log_deopt_message(thread, "Uncommon trap %d fr.pc " INTPTR_FORMAT, - trap_request, fr.pc()); + Events::log(thread, "Uncommon trap: trap_request=" PTR32_FORMAT " fr.pc=" INTPTR_FORMAT, + trap_request, fr.pc()); { ResourceMark rm; @@ -1274,6 +1274,11 @@ MethodData* trap_mdo = get_method_data(thread, trap_method, create_if_missing); + // Log a message + Events::log_deopt_message(thread, "Uncommon trap: reason=%s action=%s pc=" INTPTR_FORMAT " method=%s @ %d", + trap_reason_name(reason), trap_action_name(action), fr.pc(), + trap_method->name_and_sig_as_C_string(), trap_bci); + // Print a bunch of diagnostics, if requested. if (TraceDeoptimization || LogCompilation) { ResourceMark rm;