equal
deleted
inserted
replaced
291 |
291 |
292 // debugging support |
292 // debugging support |
293 // tracing |
293 // tracing |
294 if (log_is_enabled(Info, exceptions)) { |
294 if (log_is_enabled(Info, exceptions)) { |
295 ResourceMark rm; |
295 ResourceMark rm; |
296 log_info(exceptions)("Exception <%s> (" INTPTR_FORMAT ") thrown in" |
296 stringStream tempst; |
297 " compiled method <%s> at PC " INTPTR_FORMAT |
297 tempst.print("compiled method <%s>\n" |
298 " for thread " INTPTR_FORMAT, |
298 " at PC" INTPTR_FORMAT " for thread " INTPTR_FORMAT, |
299 exception->print_value_string(), |
299 nm->method()->print_value_string(), p2i(pc), p2i(thread)); |
300 p2i((address)exception()), |
300 Exceptions::log_exception(exception, tempst); |
301 nm->method()->print_value_string(), p2i(pc), |
|
302 p2i(thread)); |
|
303 } |
301 } |
304 // for AbortVMOnException flag |
302 // for AbortVMOnException flag |
305 NOT_PRODUCT(Exceptions::debug_check_abort(exception)); |
303 NOT_PRODUCT(Exceptions::debug_check_abort(exception)); |
306 |
304 |
307 // Clear out the exception oop and pc since looking up an |
305 // Clear out the exception oop and pc since looking up an |