Skip to content
Permalink
Browse files
8273486: Zero: Handle DiagnoseSyncOnValueBasedClasses VM option
Reviewed-by: dholmes
  • Loading branch information
shipilev committed Sep 14, 2021
1 parent 8d73ee6 commit 86a8e5524ddb5e25dab54b4f56cc1b9c27d0a4a6
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/hotspot/cpu/zero/vm_version_zero.cpp
@@ -45,6 +45,11 @@ void VM_Version::initialize() {
}
FLAG_SET_DEFAULT(AllocatePrefetchDistance, 0);

// If lock diagnostics is needed, always call to runtime
if (DiagnoseSyncOnValueBasedClasses != 0) {
FLAG_SET_DEFAULT(UseHeavyMonitors, true);
}

// Not implemented
UNSUPPORTED_OPTION(CriticalJNINatives);
}

1 comment on commit 86a8e55

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 86a8e55 Sep 14, 2021

Please sign in to comment.