Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCompiler.cpp @ 22463:d9f5c93a83d3
Move Java based CTW out of hotspot
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 24 Aug 2015 19:17:08 -0700 |
parents | 76af33d4d504 |
children | d1019456c4d2 |
comparison
equal
deleted
inserted
replaced
22462:7a7dd51e7e0b | 22463:d9f5c93a83d3 |
---|---|
164 // Print compilation timers and statistics | 164 // Print compilation timers and statistics |
165 void JVMCICompiler::print_compilation_timers() { | 165 void JVMCICompiler::print_compilation_timers() { |
166 TRACE_jvmci_1("JVMCICompiler::print_timers"); | 166 TRACE_jvmci_1("JVMCICompiler::print_timers"); |
167 tty->print_cr(" JVMCI code install time: %6.3f s", _codeInstallTimer.seconds()); | 167 tty->print_cr(" JVMCI code install time: %6.3f s", _codeInstallTimer.seconds()); |
168 } | 168 } |
169 | |
170 void JVMCICompiler::compile_the_world() { | |
171 HandleMark hm; | |
172 ResourceMark rm; | |
173 JVMCIRuntime::ensure_jvmci_class_loader_is_initialized(); | |
174 JavaThread* THREAD = JavaThread::current(); | |
175 Handle receiver = JVMCIRuntime::get_HotSpotJVMCIRuntime(); | |
176 TempNewSymbol compileTheWorld = SymbolTable::new_symbol("compileTheWorld", CHECK_ABORT); | |
177 JavaValue result(T_VOID); | |
178 JavaCallArguments args; | |
179 args.push_oop(receiver); | |
180 JavaCalls::call_special(&result, receiver->klass(), compileTheWorld, vmSymbols::void_method_signature(), &args, CHECK_ABORT); | |
181 } |