Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8252182: [JEP 390] Diagnose synchronization on @ValueBased classes #274

Closed
wants to merge 8 commits into from
@@ -586,7 +586,7 @@ void ObjectSynchronizer::reenter(Handle obj, intx recursions, TRAPS) {
// JNI locks on java objects
// NOTE: must use heavy weight monitor to handle jni monitor enter
void ObjectSynchronizer::jni_enter(Handle obj, TRAPS) {
if (DiagnoseSyncOnValueBasedClasses != 0 && obj->klass()->is_value_based()) {
if (obj->klass()->is_value_based()) {
handle_sync_on_value_based_class(obj, THREAD);
}