diff -r 3fc49366dc15 -r 01a2b863cc61 hotspot/src/share/vm/opto/bytecodeInfo.cpp --- a/hotspot/src/share/vm/opto/bytecodeInfo.cpp Fri Oct 05 13:37:08 2012 -0700 +++ b/hotspot/src/share/vm/opto/bytecodeInfo.cpp Fri Oct 05 18:57:10 2012 -0700 @@ -439,9 +439,7 @@ WarmCallInfo wci = *(initial_wci); failure_msg = try_to_inline(callee_method, caller_method, caller_bci, profile, &wci); if (failure_msg != NULL && C->log() != NULL) { - C->log()->begin_elem("inline_fail reason='"); - C->log()->text("%s", failure_msg); - C->log()->end_elem("'"); + C->log()->inline_fail(failure_msg); } #ifndef PRODUCT