hotspot/src/share/vm/utilities/exceptions.cpp
changeset 33160 c59f1676d27e
parent 31337 98b10897ee17
child 33198 b37ad9fbf681
--- a/hotspot/src/share/vm/utilities/exceptions.cpp	Thu Oct 08 10:25:45 2015 +0000
+++ b/hotspot/src/share/vm/utilities/exceptions.cpp	Thu Oct 08 12:49:30 2015 -1000
@@ -85,7 +85,7 @@
 #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
@@ -112,7 +112,7 @@
   }
 
   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