Integrated: 8359437: Make users and test suite not able to set LockingMode flag
Anton Artemov
duke at openjdk.org
Thu Jun 26 07:44:42 UTC 2025
On Tue, 17 Jun 2025 08:39:49 GMT, Anton Artemov <duke at openjdk.org> wrote:
> This PR contains changes for the 1st phase of the `LockingMode` flag obsoletion.
>
> The work is done by @fbredber, I have taken it over and am finishing it while he's on vacation.
>
> In the 1st phase one keeps the `LockingMode` variable in all places, but makes it non-settable from the command line. All the C1 and C2 code related to legacy locking will still be in place (but as dead code) and removed later (phase 2).
>
> Lightweight locking is the default locking from now on.
>
> Tested in tiers 1 - 7.
This pull request has now been integrated.
Changeset: 5039b42d
Author: Anton Artemov <anton.artemov at oracle.com>
Committer: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5039b42de170769797312969185ee9d67f34cf24
Stats: 1154 lines in 34 files changed: 24 ins; 1044 del; 86 mod
8359437: Make users and test suite not able to set LockingMode flag
8358542: Remove RTM test VMProps
Co-authored-by: Fredrik Bredberg <fbredberg at openjdk.org>
Reviewed-by: coleenp, lmesnik, fbredberg, alanb, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/25847
More information about the hotspot-dev
mailing list