hotspot/src/share/vm/utilities/exceptions.cpp
changeset 33198 b37ad9fbf681
parent 33148 68fa8b6c4340
parent 33160 c59f1676d27e
child 33230 23bb11a5cf4e
--- a/hotspot/src/share/vm/utilities/exceptions.cpp	Thu Oct 15 13:28:22 2015 +0200
+++ b/hotspot/src/share/vm/utilities/exceptions.cpp	Sat Oct 17 19:40:30 2015 -0400
@@ -83,7 +83,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
@@ -110,7 +110,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