diff src/share/vm/utilities/exceptions.cpp @ 4978:99d3d8a72252

More ifdef GRAAL usage.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 18:31:27 +0100
parents 33df1aeaebbf
children 1b8d02e10ee8
line wrap: on
line diff
--- a/src/share/vm/utilities/exceptions.cpp	Mon Feb 27 17:06:18 2012 +0100
+++ b/src/share/vm/utilities/exceptions.cpp	Mon Feb 27 18:31:27 2012 +0100
@@ -95,8 +95,10 @@
 #endif // ASSERT
 
   if (thread->is_VM_thread()
-	  // TODO(tw): May we do this?
-      /*|| thread->is_Compiler_thread()*/ ) {
+#ifndef GRAAL
+      || thread->is_Compiler_thread()
+#endif
+    ) {
     // 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
     thread->set_pending_exception(Universe::vm_exception(), file, line);
@@ -119,8 +121,10 @@
   }
 
   if (thread->is_VM_thread()
-	  // TODO(tw): May we do this?
-     /* || thread->is_Compiler_thread()*/ ) {
+#ifndef GRAAL
+      || thread->is_Compiler_thread()
+#endif
+    ) {
     // 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
     thread->set_pending_exception(Universe::vm_exception(), file, line);