comparison src/share/vm/jvmci/jvmciCodeInstaller.cpp @ 22728:eb2091fcd682

Pass Handle per value.
author Roland Schatz <roland.schatz@oracle.com>
date Mon, 09 Nov 2015 14:34:33 +0100
parents 0229a2ca608b
children f41ed1d87d68
comparison
equal deleted inserted replaced
22727:9860aa60385f 22728:eb2091fcd682
424 } 424 }
425 } 425 }
426 } 426 }
427 427
428 // constructor used to create a method 428 // constructor used to create a method
429 JVMCIEnv::CodeInstallResult CodeInstaller::install(JVMCICompiler* compiler, Handle target, Handle& compiled_code, CodeBlob*& cb, Handle installed_code, Handle speculation_log, TRAPS) { 429 JVMCIEnv::CodeInstallResult CodeInstaller::install(JVMCICompiler* compiler, Handle target, Handle compiled_code, CodeBlob*& cb, Handle installed_code, Handle speculation_log, TRAPS) {
430 CodeBuffer buffer("JVMCI Compiler CodeBuffer"); 430 CodeBuffer buffer("JVMCI Compiler CodeBuffer");
431 jobject compiled_code_obj = JNIHandles::make_local(compiled_code()); 431 jobject compiled_code_obj = JNIHandles::make_local(compiled_code());
432 initialize_dependencies(JNIHandles::resolve(compiled_code_obj), CHECK_OK); 432 initialize_dependencies(JNIHandles::resolve(compiled_code_obj), CHECK_OK);
433 433
434 // Get instructions and constants CodeSections early because we need it. 434 // Get instructions and constants CodeSections early because we need it.