RFR: 8308479: [s390x] Implement alternative fast-locking scheme [v6]

Amit Kumar amitkumar at openjdk.org
Thu Jun 15 05:36:23 UTC 2023


> This PR implements new fast-locking scheme for s390x. Additionally few parameters have been renamed to be in sync with PPC.
> 
> Testing done (for release, fastdebug and slowdebug build):
> All `test/jdk/java/util/concurrent` test with parameters:
> * LockingMode=2 
> * LockingMode=2 with -Xint
> * LockingMode=2 with -XX:TieredStopAtLevel=1
> * LockingMode=2 with -XX:-TieredCompilation
> 
> Result is consistently similar to Aarch(MacOS) and PPC, All of 124 tests are passing except `MapLoops.java` because in the 2nd part for this testcase, jvm starts with `HeavyMonitors` which conflict with `LockingMode=2`

Amit Kumar has updated the pull request incrementally with one additional commit since the last revision:

  use compare_and_branch instead cgrj + fixup

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14414/files
  - new: https://git.openjdk.org/jdk/pull/14414/files/82c74b43..f017efc3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14414&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14414&range=04-05

  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14414.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14414/head:pull/14414

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


More information about the hotspot-dev mailing list