mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8268052: [JVMCI] non-default installed code must be marked as in_use
Reviewed-by: kvn, dnsimon
This commit is contained in:
parent
bb3d226a4e
commit
db45ff09ac
9 changed files with 46 additions and 20 deletions
|
@ -881,11 +881,13 @@ C2V_VMENTRY_0(jint, installCode, (JNIEnv *env, jobject, jobject target, jobject
|
|||
|
||||
TraceTime install_time("installCode", JVMCICompiler::codeInstallTimer(!thread->is_Compiler_thread()));
|
||||
|
||||
nmethodLocker nmethod_handle;
|
||||
CodeInstaller installer(JVMCIENV);
|
||||
JVMCI::CodeInstallResult result = installer.install(compiler,
|
||||
target_handle,
|
||||
compiled_code_handle,
|
||||
cb,
|
||||
nmethod_handle,
|
||||
installed_code_handle,
|
||||
(FailedSpeculation**)(address) failed_speculations_address,
|
||||
speculations,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue