RFR: 8234383: Test TestBiasedLockRevocationEvents.java assumes -XX:UseBiasedLocking is enabled
Thomas Schatzl
thomas.schatzl at oracle.com
Tue Nov 19 08:22:20 UTC 2019
Hi,
On 19.11.19 09:01, Per Liden wrote:
> Hi,
>
> Please review this one-liner test fix.
>
> The test TestBiasedLockRevocationEvents.java assumes
> -XX:UseBiasedLocking is enabled. While this is generally true, it's not
> true when e.g. enabling ZGC. There's also work ongoing to look into
> disabling it by default (JDK-8231264). The test should supply
> -XX:+UseBiasedLocking on the run line to avoid making assumptions about
> if it's enabled by default or not.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8234383
> Webrev: http://cr.openjdk.java.net/~pliden/8234383/webrev.0
looks good.
Thomas
More information about the hotspot-jfr-dev
mailing list