Integrated: JDK-8307810: Consistently use LockingMode instead of UseHeavyMonitors
Thomas Stuefe
stuefe at openjdk.org
Thu May 11 04:50:51 UTC 2023
On Wed, 10 May 2023 11:20:16 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> [JDK-8291555](https://bugs.openjdk.org/browse/JDK-8291555) phased out UseHeavyMonitors in favor of LockingMode=0. We forgot to apply these changes to PPC and S390.
>
> Since UseHeavyMonitors implies LockingMode, but not vice versa, we now have a mismatch if JVM is started with LockingMode=0 but without UseHeavyMonitors. That leads to crashes.
>
> The patch fixes that, and in addition makes sure that if LockingMode=0 is set, we are setting UseHeavyMonitors too.
This pull request has now been integrated.
Changeset: 984fbbbc
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/984fbbbcabca475c3c3af7c10a843759744c1472
Stats: 10 lines in 5 files changed: 0 ins; 0 del; 10 mod
8307810: Consistently use LockingMode instead of UseHeavyMonitors
Reviewed-by: dcubed, mdoerr, dholmes, amitkumar
-------------
PR: https://git.openjdk.org/jdk/pull/13900
More information about the hotspot-dev
mailing list