equal
deleted
inserted
replaced
815 ThreadToNativeFromVM trans(thread); |
815 ThreadToNativeFromVM trans(thread); |
816 env->RegisterNatives(c2vmClass, CompilerToVM::methods, CompilerToVM::methods_count()); |
816 env->RegisterNatives(c2vmClass, CompilerToVM::methods, CompilerToVM::methods_count()); |
817 } |
817 } |
818 JVM_END |
818 JVM_END |
819 |
819 |
820 #define CHECK_WARN_ABORT_(message) THREAD); \ |
|
821 if (HAS_PENDING_EXCEPTION) { \ |
|
822 warning(message); \ |
|
823 char buf[512]; \ |
|
824 jio_snprintf(buf, 512, "Uncaught exception at %s:%d", __FILE__, __LINE__); \ |
|
825 JVMCIRuntime::abort_on_pending_exception(PENDING_EXCEPTION, buf); \ |
|
826 return; \ |
|
827 } \ |
|
828 (void)(0 |
|
829 |
|
830 void JVMCIRuntime::shutdown(TRAPS) { |
820 void JVMCIRuntime::shutdown(TRAPS) { |
831 if (_HotSpotJVMCIRuntime_instance != NULL) { |
821 if (_HotSpotJVMCIRuntime_instance != NULL) { |
832 _shutdown_called = true; |
822 _shutdown_called = true; |
833 HandleMark hm(THREAD); |
823 HandleMark hm(THREAD); |
834 Handle receiver = get_HotSpotJVMCIRuntime(CHECK); |
824 Handle receiver = get_HotSpotJVMCIRuntime(CHECK); |