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

Christian Hagedorn chagedorn at openjdk.org
Thu May 15 06:40:53 UTC 2025


On Thu, 15 May 2025 02:29:11 GMT, Jasmine Karthikeyan <jkarthikeyan at openjdk.org> wrote:

> Hi all,
> This is a small patch to TestVectorZeroCount to make it only execute when C2 is enabled, to fix a timeout with -XX:TieredStopAtLevel=3. This test takes a long time to finish without C2 because it iterates through all of the integers twice. Since the intention of the test is to stress the C2-specific `numberOfLeadingZeros` and `numberOfTrailingZeros` intrinsics, I think it makes sense to limit it to running with C2 only.
> 
> Reviews would be appreciated!

Looks good, thanks for fixing it!

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25243#pullrequestreview-2842438852


More information about the hotspot-compiler-dev mailing list