hotspot/src/share/vm/jvmci/jvmciRuntime.cpp
changeset 41322 d91c045cdfe4
parent 41057 f77b9d9e0e4c
child 41690 038f2064e729
equal deleted inserted replaced
41321:463ff7705f2f 41322:d91c045cdfe4
   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);