提交 bb040598 编写于 作者: T twisti

8003238: JSR 292: intermittent exception failure with java/lang/invoke/CallSiteTest.java

Reviewed-by: jrose, kvn
上级 0ce415bf
...@@ -1168,8 +1168,8 @@ JVM_ENTRY(void, MHN_setCallSiteTargetNormal(JNIEnv* env, jobject igcls, jobject ...@@ -1168,8 +1168,8 @@ JVM_ENTRY(void, MHN_setCallSiteTargetNormal(JNIEnv* env, jobject igcls, jobject
// Walk all nmethods depending on this call site. // Walk all nmethods depending on this call site.
MutexLocker mu(Compile_lock, thread); MutexLocker mu(Compile_lock, thread);
Universe::flush_dependents_on(call_site, target); Universe::flush_dependents_on(call_site, target);
}
java_lang_invoke_CallSite::set_target(call_site(), target()); java_lang_invoke_CallSite::set_target(call_site(), target());
}
} }
JVM_END JVM_END
...@@ -1180,8 +1180,8 @@ JVM_ENTRY(void, MHN_setCallSiteTargetVolatile(JNIEnv* env, jobject igcls, jobjec ...@@ -1180,8 +1180,8 @@ JVM_ENTRY(void, MHN_setCallSiteTargetVolatile(JNIEnv* env, jobject igcls, jobjec
// Walk all nmethods depending on this call site. // Walk all nmethods depending on this call site.
MutexLocker mu(Compile_lock, thread); MutexLocker mu(Compile_lock, thread);
Universe::flush_dependents_on(call_site, target); Universe::flush_dependents_on(call_site, target);
}
java_lang_invoke_CallSite::set_target_volatile(call_site(), target()); java_lang_invoke_CallSite::set_target_volatile(call_site(), target());
}
} }
JVM_END JVM_END
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册