< prev index next >
src/share/vm/opto/runtime.cpp
Print this page
@@ -70,10 +70,11 @@
#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,10 +1450,13 @@
// 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 >