8142329: [JVMCI] pass Handle by value

Reviewed-by: coleenp, twisti
This commit is contained in:
Roland Schatz 2015-11-10 10:34:39 -10:00 committed by Christian Thalinger
parent fa6545ccc1
commit 3d745923ca
10 changed files with 46 additions and 45 deletions

View file

@ -112,7 +112,7 @@ void JVMCICompiler::bootstrap() {
_bootstrapping = false;
}
void JVMCICompiler::compile_method(methodHandle method, int entry_bci, JVMCIEnv* env) {
void JVMCICompiler::compile_method(const methodHandle& method, int entry_bci, JVMCIEnv* env) {
JVMCI_EXCEPTION_CONTEXT
bool is_osr = entry_bci != InvocationEntryBci;