RFR: 8252473: [TESTBUG] compiler tests fail with minimal VM: Unrecognized VM option

Emanuel Peter epeter at openjdk.org
Tue Apr 1 16:39:30 UTC 2025


On Wed, 26 Mar 2025 18:49:51 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> This adds `@requires vm.compiler2.enabled` to tests, which fail with `Unrecognized VM option` on client VM.
>
> Can we run some of them with Graal? When no C2 specific flags are used.

@vnkozlov do you agree that we should use `-XX:-IgnoreUnrecognizedVMOptions`?

@zzambers Graal does not implement all flags, and so you would get the same issue with `Unrecognized VM option`. But it could still be valuable to run the tests with Graal, even if the flags are not doing anything.

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

PR Comment: https://git.openjdk.org/jdk/pull/24262#issuecomment-2769944061


More information about the hotspot-compiler-dev mailing list