--- 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