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

David Holmes dholmes at openjdk.java.net
Mon Sep 28 01:39:15 UTC 2020


On Sat, 26 Sep 2020 15:53:54 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> …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.

I'm not clear now why this wasn't fixed in mainline originally. VS2017 is still an allowed compiler.

Fix is good.

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-dev mailing list