RFR: 8286339: compiler/c2/irTests/TestEnumFinalFold.java fails if Enum/String methods are not inlined
Aleksey Shipilev
shade at openjdk.java.net
Tue May 10 15:07:12 UTC 2022
On Tue, 10 May 2022 14:53:36 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> I didn't try if the test would fail with something like `-XX:-Inline`. If it may fail, why not make it to be more robust by just adding `vm.flagless`?
The test passes with `-XX:-Inline`, I suspect because IR Testing Framework is smart about it:
IR verification disabled either due to no @IR annotations, through explicitly setting -DVerify=false,
due to not running a debug build, using a non-whitelisted JTreg VM or Javaopts flag like -Xint, or
running the test VM with other VM flags added by user code that make the IR verification impossible
(e.g. -XX:-UseCompile, -XX:TieredStopAtLevel=[1,2,3], etc.)."
-------------
PR: https://git.openjdk.java.net/jdk/pull/8625
More information about the hotspot-compiler-dev
mailing list