diff src/share/vm/utilities/exceptions.cpp @ 4981:1b8d02e10ee8

Remove the hacks around "is_Compiler_thread" assertions; Graal no longer uses the compiler thread mechanisms; don't create a C++ compilation queue or any compiler threads.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 22:15:05 +0100
parents 99d3d8a72252
children 957c266d8bc5
line wrap: on
line diff
--- a/src/share/vm/utilities/exceptions.cpp	Mon Feb 27 21:49:51 2012 +0100
+++ b/src/share/vm/utilities/exceptions.cpp	Mon Feb 27 22:15:05 2012 +0100
@@ -95,10 +95,7 @@
 #endif // ASSERT
 
   if (thread->is_VM_thread()
-#ifndef GRAAL
-      || thread->is_Compiler_thread()
-#endif
-    ) {
+      || thread->is_Compiler_thread() ) {
     // 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);
@@ -121,10 +118,7 @@
   }
 
   if (thread->is_VM_thread()
-#ifndef GRAAL
-      || thread->is_Compiler_thread()
-#endif
-    ) {
+      || thread->is_Compiler_thread() ) {
     // 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);