Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCompiler.cpp @ 2901:d577d07cedec
Added time measurement for phases.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 08 Jun 2011 17:01:16 +0200 |
parents | 75a99b4f1c98 |
children | b78b4ae0757c |
comparison
equal
deleted
inserted
replaced
2897:be276884eec0 | 2901:d577d07cedec |
---|---|
115 VMExits::compileMethod(VmIds::add<methodOop>(method), VmIds::toString<Handle>(method->name(), THREAD), entry_bci); | 115 VMExits::compileMethod(VmIds::add<methodOop>(method), VmIds::toString<Handle>(method->name(), THREAD), entry_bci); |
116 CompilerThread::current()->set_compiling(false); | 116 CompilerThread::current()->set_compiling(false); |
117 | 117 |
118 VmIds::cleanupLocalObjects(); | 118 VmIds::cleanupLocalObjects(); |
119 TRACE_graal_2("GraalCompiler::compile_method exit"); | 119 TRACE_graal_2("GraalCompiler::compile_method exit"); |
120 } | |
121 | |
122 void GraalCompiler::exit() { | |
123 VMExits::shutdownCompiler(); | |
120 } | 124 } |
121 | 125 |
122 // Print compilation timers and statistics | 126 // Print compilation timers and statistics |
123 void GraalCompiler::print_timers() { | 127 void GraalCompiler::print_timers() { |
124 TRACE_graal_1("GraalCompiler::print_timers"); | 128 TRACE_graal_1("GraalCompiler::print_timers"); |