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.

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

Commit messages:
 - Merge remote-tracking branch 'origin/master' into 
8359437_locking_mode_obsoletion
 - Merge remote-tracking branch 'origin/master' into 
8359437_locking_mode_obsoletion
 - 8359437: Addressed reviewers' comments
 - Merge remote-tracking branch 'origin/master' into 
8359437_locking_mode_obsoletion
 - Merge remote-tracking branch 'origin/master' into 
8359437_locking_mode_obsoletion
 - Merge branch 'master' into _remove_locking_mode_fix_tests
 - Update after pre-review
 - First try.

Changes: https://git.openjdk.org/jdk/pull/25847/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25847&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359437
  Stats: 1122 lines in 33 files changed: 40 ins; 992 del; 90 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

Reply via email to