Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompiler.cpp @ 18171:9bb816169777
Report code install timer in hosted mode
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 27 Oct 2014 13:37:06 -0700 |
parents | 70077134cabc |
children | c307546c7b0a |
comparison
equal
deleted
inserted
replaced
18163:c88ab4f1f04a | 18171:9bb816169777 |
---|---|
134 ShouldNotReachHere(); | 134 ShouldNotReachHere(); |
135 } | 135 } |
136 | 136 |
137 // Print compilation timers and statistics | 137 // Print compilation timers and statistics |
138 void GraalCompiler::print_timers() { | 138 void GraalCompiler::print_timers() { |
139 print_compilation_timers(); | |
140 } | |
141 | |
142 #endif // COMPILERGRAAL | |
143 | |
144 // Print compilation timers and statistics | |
145 void GraalCompiler::print_compilation_timers() { | |
139 TRACE_graal_1("GraalCompiler::print_timers"); | 146 TRACE_graal_1("GraalCompiler::print_timers"); |
140 tty->print_cr(" Graal code install time: %6.3f s", _codeInstallTimer.seconds()); | 147 tty->print_cr(" Graal code install time: %6.3f s", _codeInstallTimer.seconds()); |
141 } | 148 } |
142 | |
143 #endif // COMPILERGRAAL | |
144 | 149 |
145 #ifndef PRODUCT | 150 #ifndef PRODUCT |
146 void GraalCompiler::compile_the_world() { | 151 void GraalCompiler::compile_the_world() { |
147 HandleMark hm; | 152 HandleMark hm; |
148 JavaThread* THREAD = JavaThread::current(); | 153 JavaThread* THREAD = JavaThread::current(); |