comparison src/share/vm/jvmci/jvmciCompiler.cpp @ 22730:24fd08e99b35

Backport Handle fixes from jvmci-9.
author Roland Schatz <roland.schatz@oracle.com>
date Wed, 11 Nov 2015 10:33:08 +0100
parents f190cf6fb28e
children ab84ba890aa4
comparison
equal deleted inserted replaced
22729:e00426c54952 22730:24fd08e99b35
114 tty->print_cr(" in " JLONG_FORMAT " ms (compiled %d methods)", os::javaTimeMillis() - start, _methodsCompiled); 114 tty->print_cr(" in " JLONG_FORMAT " ms (compiled %d methods)", os::javaTimeMillis() - start, _methodsCompiled);
115 } 115 }
116 _bootstrapping = false; 116 _bootstrapping = false;
117 } 117 }
118 118
119 void JVMCICompiler::compile_method(methodHandle method, int entry_bci, JVMCIEnv* env) { 119 void JVMCICompiler::compile_method(const methodHandle& method, int entry_bci, JVMCIEnv* env) {
120 JVMCI_EXCEPTION_CONTEXT 120 JVMCI_EXCEPTION_CONTEXT
121 121
122 bool is_osr = entry_bci != InvocationEntryBci; 122 bool is_osr = entry_bci != InvocationEntryBci;
123 if (_bootstrapping && is_osr) { 123 if (_bootstrapping && is_osr) {
124 // no OSR compilations during bootstrap - the compiler is just too slow at this point, 124 // no OSR compilations during bootstrap - the compiler is just too slow at this point,