RFR: 8342681: TestLoadBypassesNullCheck.java fails improperly specified VM option [v2]

Aleksey Shipilev shade at openjdk.org
Mon Oct 21 17:16:14 UTC 2024


On Mon, 21 Oct 2024 16:44:26 GMT, SendaoYan <syan at openjdk.org> wrote:

>> Hi all,
>> Newly added test `gc/shenandoah/compiler/TestLoadBypassesNullCheck.java` fails `The unlock option must precede 'StressGCM'.` with release jdk build. This PR fix the test bug, only add `-XX:+UnlockDiagnosticVMOptions` to make test run passed by release jdk build.
>> The change has been verified locally with release/fastdebug/slowdebug on linux-x64. Test-fix only, no risk.
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   only unlock Stress* VM option

Thank you!

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21609#pullrequestreview-2382778280


More information about the hotspot-gc-dev mailing list