< prev index next >

src/share/vm/opto/runtime.cpp

Print this page

        

*** 70,79 **** --- 70,80 ---- #include "runtime/vframe.hpp" #include "runtime/vframeArray.hpp" #include "runtime/vframe_hp.hpp" #include "utilities/copy.hpp" #include "utilities/preserveException.hpp" + #include "jvmtiThreadState.hpp" // For debugging purposes: // To force FullGCALot inside a runtime function, add the following two lines //
*** 1449,1458 **** --- 1450,1462 ---- // should throw an exception here ShouldNotReachHere(); } #endif + JvmtiThreadState *state = thread->jvmti_thread_state(); + state->set_exception_detected(); + thread->set_vm_result(exception); // Frame not compiled (handles deoptimization blob) return SharedRuntime::raw_exception_handler_for_return_address(thread, ret_pc); }
< prev index next >