RFR: 8252473: [TESTBUG] compiler tests fail with minimal VM: Unrecognized VM option
Zdenek Zambersky
zzambers at openjdk.org
Wed May 21 14:02:59 UTC 2025
On Tue, 29 Apr 2025 16:33:41 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>>> Why not just add the compile flag `-XX:-IgnoreUnrecognizedVMOptions`? That could be a good alternative for most cases, I think.
>>
>> I saw that approach sometimes used as well. (My little, probably unfounded concern, would be, that typos in args could then be silently ignored.)
>>
>> I can change my PR to use `-XX:-IgnoreUnrecognizedVMOptions` instead, if that approach is preferable.
>
> @zzambers Are you still working on this?
@eme64 Sorry for late response,
I updated change set to use approach with `-XX:+IgnoreUnrecognizedVMOptions`. Tested locally with `hotspot_compiler` tests. Rebased to current master.
`LateInlinePrinting.java` tests keeps using `@requires`, because output printed by ClientVM is different (with unrecognized options are ignored).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24262#issuecomment-2898080867
More information about the hotspot-compiler-dev
mailing list