< prev index next >

src/share/vm/utilities/exceptions.cpp

Print this page

        

@@ -83,11 +83,11 @@
            "need to increase min_stack_allowed calculation");
   }
 #endif // ASSERT
 
   if (thread->is_VM_thread()
-      || thread->is_Compiler_thread()
+      || !thread->can_call_java()
       || DumpSharedSpaces ) {
     // We do not care what kind of exception we get for the vm-thread or a thread which
     // is compiling.  We just install a dummy exception object
     //
     // We also cannot throw a proper exception when dumping, because we cannot run

@@ -110,11 +110,11 @@
     }
     ShouldNotReachHere();
   }
 
   if (thread->is_VM_thread()
-      || thread->is_Compiler_thread()
+      || !thread->can_call_java()
       || DumpSharedSpaces ) {
     // We do not care what kind of exception we get for the vm-thread or a thread which
     // is compiling.  We just install a dummy exception object
     //
     // We also cannot throw a proper exception when dumping, because we cannot run
< prev index next >