RFR: 8359437: Make users and test suite not able to set LockingMode flag [v4]

Anton Artemov duke at openjdk.org
Tue Jun 24 11:16:21 UTC 2025


> 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.

Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:

  8359437: Addressed reviewer's comments

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/25847/files
  - new: https://git.openjdk.org/jdk/pull/25847/files/9a8d5191..17f3b2d4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25847&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25847&range=02-03

  Stats: 14 lines in 1 file changed: 5 ins; 6 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/25847.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25847/head:pull/25847

PR: https://git.openjdk.org/jdk/pull/25847


More information about the hotspot-dev mailing list