src/share/vm/c1/c1_Runtime1.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/c1/c1_Runtime1.cpp	Tue Jan  5 12:33:32 2016
--- new/src/share/vm/c1/c1_Runtime1.cpp	Tue Jan  5 12:33:32 2016

*** 549,564 **** --- 549,573 ---- // debugging support // tracing if (log_is_enabled(Info, exceptions)) { ResourceMark rm; log_info(exceptions)("Exception <%s> (" INTPTR_FORMAT ") thrown in compiled method <%s> at PC " INTPTR_FORMAT " for thread " INTPTR_FORMAT, + Symbol* message = java_lang_Throwable::detail_message(exception()); + stringStream tempst; + if (message != NULL) { + tempst.print("Exception <%s: %s> (" INTPTR_FORMAT ")", + exception->print_value_string(), message->as_C_string(), + p2i((address)exception())); + } else { + tempst.print("Exception <%s> (" INTPTR_FORMAT ")", exception->print_value_string(), p2i((address)exception()), + p2i((address)exception())); + } + tempst.print(" thrown in compiled method <%s> at PC" INTPTR_FORMAT + " for thread " INTPTR_FORMAT, nm->method()->print_value_string(), p2i(pc), p2i(thread)); + LogHandle(exceptions)::info_stream()->print_raw_cr(tempst.as_string()); } // for AbortVMOnException flag Exceptions::debug_check_abort(exception); // Clear out the exception oop and pc since looking up an

src/share/vm/c1/c1_Runtime1.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File