RFR: 8355512: Test compiler/vectorization/TestVectorZeroCount.java times out with -XX:TieredStopAtLevel=3

Jasmine Karthikeyan jkarthikeyan at openjdk.org
Mon May 19 12:50:52 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?

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

PR Comment: https://git.openjdk.org/jdk/pull/25243#issuecomment-2890888703


More information about the hotspot-compiler-dev mailing list