equal
deleted
inserted
replaced
362 return result; |
362 return result; |
363 } |
363 } |
364 |
364 |
365 |
365 |
366 void SharedRuntime::throw_and_post_jvmti_exception(JavaThread *thread, Handle h_exception) { |
366 void SharedRuntime::throw_and_post_jvmti_exception(JavaThread *thread, Handle h_exception) { |
367 if (JvmtiExport::can_post_exceptions()) { |
367 if (JvmtiExport::can_post_on_exceptions()) { |
368 vframeStream vfst(thread, true); |
368 vframeStream vfst(thread, true); |
369 methodHandle method = methodHandle(thread, vfst.method()); |
369 methodHandle method = methodHandle(thread, vfst.method()); |
370 address bcp = method()->bcp_from(vfst.bci()); |
370 address bcp = method()->bcp_from(vfst.bci()); |
371 JvmtiExport::post_exception_throw(thread, method(), bcp, h_exception()); |
371 JvmtiExport::post_exception_throw(thread, method(), bcp, h_exception()); |
372 } |
372 } |