Mercurial > hg > graal-compiler
diff src/share/vm/runtime/thread.cpp @ 2901:d577d07cedec
Added time measurement for phases.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 08 Jun 2011 17:01:16 +0200 |
parents | 0654ee04b214 |
children | b78b4ae0757c |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Wed Jun 08 14:50:55 2011 +0200 +++ b/src/share/vm/runtime/thread.cpp Wed Jun 08 17:01:16 2011 +0200 @@ -29,6 +29,7 @@ #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" @@ -3659,6 +3660,9 @@ thread->invoke_shutdown_hooks(); } + if (UseGraal) { + GraalCompiler::instance()->exit(); + } before_exit(thread); thread->exit(true);