RFR: 8225329: -XX:+PrintBiasedLockingStatistics causes crash during initia…

Martin Doerr mdoerr at openjdk.java.net
Sat Sep 26 15:59:49 UTC 2020


…lization on Windows platforms

This bug was fixed in 11.0.3-oracle, but also exists in 16:
https://bugs.openjdk.java.net/browse/JDK-8225329

VM crashes when built with VS2017, but passes with this trivial fix.

jdk16\bin\java -XX:+UnlockDiagnosticVMOptions -XX:+UseBiasedLocking -XX:+PrintBiasedLockingStatistics -version
OpenJDK 64-Bit Server VM warning: Temporarily processing option UseBiasedLocking; support is scheduled for removal in
16.0

Seems like we won't need this fix for a long time, but fixes should be done upstream for other backports.

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

Commit messages:
 - 8225329: -XX:+PrintBiasedLockingStatistics causes crash during initialization on Windows platforms

Changes: https://git.openjdk.java.net/jdk/pull/372/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=372&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8225329
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/372.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/372/head:pull/372

PR: https://git.openjdk.java.net/jdk/pull/372


More information about the hotspot-dev mailing list