RFR: 8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectorization tests [v2]

Vladimir Kozlov kvn at openjdk.org
Fri Aug 4 20:13:32 UTC 2023


On Fri, 4 Aug 2023 06:31:46 GMT, Pengfei Li <pli at openjdk.org> wrote:

> A solution to this may be adding one more check of `CICompileOSR` is OFF if we still want to use interpreted execution for the reference result.

I would suggest to use `WB.setBooleanVMFlag("CICompileOSR", false);`. But it is debug flag which can be set only in debug VM.  There are may be other product flags you can temporary set to avoid compilation without locking.

> 
> Now the question is, which verification approach do you think is better? "C2 vs. interpreted" or "C2 vs. C1"?

We usually use Interpreter as gold standard.

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

PR Comment: https://git.openjdk.org/jdk/pull/15011#issuecomment-1666121398


More information about the hotspot-compiler-dev mailing list