See JBS issue for details. I basically: - took the test-modification and turned it into its own test-case - added test runners for lightweight- and legacy-locking, so that we keep testing both, no matter what is the default - added Axels fix (mentioned in the JBS issue) with the modification to only inflate when exec_mode == Unpack_none, as explained by Richard.
Testing: - [x] EATests.java - [ ] tier1 - [ ] tier2 ------------- Commit messages: - 8318895: Deoptimization results in incorrect lightweight locking stack Changes: https://git.openjdk.org/jdk/pull/16568/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16568&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8318895 Stats: 99 lines in 2 files changed: 96 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/16568.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16568/head:pull/16568 PR: https://git.openjdk.org/jdk/pull/16568