RFR: 8286339: compiler/c2/irTests/TestEnumFinalFold.java fails if Enum/String methods are not inlined

Jie Fu jiefu at openjdk.java.net
Tue May 10 15:09:27 UTC 2022


On Tue, 10 May 2022 15:03:00 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> > If it may fail, why not make it to be more robust by just adding vm.flagless?
> 
> Because that will prevent the test from being executed with any other VM flag and we don't want that. The IR verification framework specifically whitelists some flag combinations and disables IR verification with others.

Since it still passes even with `-XX:-Inline`, so I think it's fine too.
Thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/8625


More information about the hotspot-compiler-dev mailing list