diff src/share/vm/runtime/thread.cpp @ 2925:b78b4ae0757c

Also call Compiler shutdown hook in case of System.exit call. Draft VMExits.Sandbox class.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 09 Jun 2011 14:42:24 +0200
parents d577d07cedec
children 8b0236cbed14
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Thu Jun 09 14:02:28 2011 +0200
+++ b/src/share/vm/runtime/thread.cpp	Thu Jun 09 14:42:24 2011 +0200
@@ -29,7 +29,6 @@
 #include "classfile/vmSymbols.hpp"
 #include "code/scopeDesc.hpp"
 #include "compiler/compileBroker.hpp"
-#include "graal/graalCompiler.hpp"
 #include "interpreter/interpreter.hpp"
 #include "interpreter/linkResolver.hpp"
 #include "jvmtifiles/jvmtiEnv.hpp"
@@ -3660,9 +3659,6 @@
     thread->invoke_shutdown_hooks();
   }
 
-  if (UseGraal) {
-    GraalCompiler::instance()->exit();
-  }
   before_exit(thread);
 
   thread->exit(true);