[jdk17u] RFR: 8273486: Zero: Handle DiagnoseSyncOnValueBasedClasses VM option

Aleksey Shipilev shade at openjdk.java.net
Wed Oct 20 13:29:34 UTC 2021


Unclean backport to fix Zero. The uncleanliness comes from the existing test shape in 17u, which uses `UseOptoBiasInlining` that is C2-specific flag, which Zero has no access to. In JDK 18, this was removed along with biased locking deprecation. I opted to fix the test in-place.

Additional testing:
 - [x] Linux x86_64 Zero passes the test now
 - [x] Linux x86_64 Server continues to pass the test

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

Commit messages:
 - Fix test for Zero
 - Backport 86a8e5524ddb5e25dab54b4f56cc1b9c27d0a4a6

Changes: https://git.openjdk.java.net/jdk17u/pull/209/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=209&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273486
  Stats: 7 lines in 2 files changed: 5 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk17u/pull/209.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/209/head:pull/209

PR: https://git.openjdk.java.net/jdk17u/pull/209


More information about the jdk-updates-dev mailing list