RFR: 8355512: Test compiler/vectorization/TestVectorZeroCount.java times out with -XX:TieredStopAtLevel=3
Christian Hagedorn
chagedorn at openjdk.org
Mon May 19 13:58:57 UTC 2025
On Mon, 19 May 2025 06:48:55 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> @eme64 I think `vm.flavor == "server"` ensures that the test runs on server-class VMs, but I wasn't sure if manually setting the `TieredStopAtLevel` changes that designation. I looked at some more tests and I saw that they were using `@requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)`, which looks like a good way to check for any tier4 compiler. I've updated the patch to use that method instead, which should let it run on graal as well.
>
> @jaskarth Thanks for doing the research on this, nice to see that there is a solution :)
> @eme64 @chhagedorn Thanks a lot for the reviews! Does testing need to be run on this change, or can I integrate it?
I think it's good to go in since you only exclude it from running in the problematic scenarios.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25243#issuecomment-2891134635
More information about the hotspot-compiler-dev
mailing list