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

Zdenek Zambersky zzambers at openjdk.org
Tue Apr 1 16:28:23 UTC 2025


On Tue, 1 Apr 2025 16:03:40 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 than be silently ignored.)

I can change my PR to use `-XX:-IgnoreUnrecognizedVMOptions` instead, if that approach is preferable.

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

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


More information about the hotspot-compiler-dev mailing list