RFR: 8252473: [TESTBUG] compiler tests fail with minimal VM: Unrecognized VM option
Zdenek Zambersky
zzambers at openjdk.org
Tue Apr 1 16:16:26 UTC 2025
On Wed, 26 Mar 2025 17:49:33 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> This adds `@requires vm.compiler2.enabled` to tests, which fail with `Unrecognized VM option` on client VM.
>
> test/hotspot/jtreg/compiler/arraycopy/TestCloneWithStressReflectiveCode.java line 28:
>
>> 26: * @bug 8284951
>> 27: * @summary Test clone intrinsic with StressReflectiveCode.
>> 28: * @requires vm.compiler2.enabled & vm.debug
>
> Drive-by comment: multiple `@requires` get AND-ed automatically, so you can just drop a new line with `@requires vm.compiler2.enabled`, and it will still work.
I used `@requires` on separate line in cases, where resulting line would be too long (or too messy), but I can use separate line everywhere.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24262#discussion_r2023170812
More information about the hotspot-compiler-dev
mailing list