Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
2897:be276884eec0 | 2901:d577d07cedec |
---|---|
27 #include "classfile/javaClasses.hpp" | 27 #include "classfile/javaClasses.hpp" |
28 #include "classfile/systemDictionary.hpp" | 28 #include "classfile/systemDictionary.hpp" |
29 #include "classfile/vmSymbols.hpp" | 29 #include "classfile/vmSymbols.hpp" |
30 #include "code/scopeDesc.hpp" | 30 #include "code/scopeDesc.hpp" |
31 #include "compiler/compileBroker.hpp" | 31 #include "compiler/compileBroker.hpp" |
32 #include "graal/graalCompiler.hpp" | |
32 #include "interpreter/interpreter.hpp" | 33 #include "interpreter/interpreter.hpp" |
33 #include "interpreter/linkResolver.hpp" | 34 #include "interpreter/linkResolver.hpp" |
34 #include "jvmtifiles/jvmtiEnv.hpp" | 35 #include "jvmtifiles/jvmtiEnv.hpp" |
35 #include "memory/oopFactory.hpp" | 36 #include "memory/oopFactory.hpp" |
36 #include "memory/universe.inline.hpp" | 37 #include "memory/universe.inline.hpp" |
3657 } else { | 3658 } else { |
3658 // run Java level shutdown hooks | 3659 // run Java level shutdown hooks |
3659 thread->invoke_shutdown_hooks(); | 3660 thread->invoke_shutdown_hooks(); |
3660 } | 3661 } |
3661 | 3662 |
3663 if (UseGraal) { | |
3664 GraalCompiler::instance()->exit(); | |
3665 } | |
3662 before_exit(thread); | 3666 before_exit(thread); |
3663 | 3667 |
3664 thread->exit(true); | 3668 thread->exit(true); |
3665 | 3669 |
3666 // Stop VM thread. | 3670 // Stop VM thread. |