equal
deleted
inserted
replaced
435 #if INCLUDE_JVMCI |
435 #if INCLUDE_JVMCI |
436 // We are not using CATCH here because we want the exit to continue normally. |
436 // We are not using CATCH here because we want the exit to continue normally. |
437 Thread* THREAD = thread; |
437 Thread* THREAD = thread; |
438 JVMCIRuntime::shutdown(THREAD); |
438 JVMCIRuntime::shutdown(THREAD); |
439 if (HAS_PENDING_EXCEPTION) { |
439 if (HAS_PENDING_EXCEPTION) { |
|
440 HandleMark hm(THREAD); |
440 Handle exception(THREAD, PENDING_EXCEPTION); |
441 Handle exception(THREAD, PENDING_EXCEPTION); |
441 CLEAR_PENDING_EXCEPTION; |
442 CLEAR_PENDING_EXCEPTION; |
442 java_lang_Throwable::java_printStackTrace(exception, THREAD); |
443 java_lang_Throwable::java_printStackTrace(exception, THREAD); |
443 } |
444 } |
444 #endif |
445 #endif |