JDK-8352512 : TestVectorZeroCount: counter not reset between iterations
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21.0.8-oracle,24.0.2,25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-03-20
  • Updated: 2025-05-27
  • Resolved: 2025-03-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21 JDK 24 JDK 25
21.0.8Fixed 24.0.2Fixed 25 b16Fixed
Related Reports
Relates :  
Description
The test uses counters with this initialization:
    private static int intCounter = Integer.MIN_VALUE;
    private static int longIterations = 100_000_000;

It uses 2 iterations, but misses a counter reset between them.
Timeouts were observed on PPC64.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1672 Date: 2025-04-17 09:45:41 +0000
17-04-2025

[jdk21u-fix-request] Approval Request from Martin Same as for jdk24u-fix-request.
17-04-2025

[jdk24u-fix-request] Approval Request from Martin JDK-8349637 has been backported to 24u. It contains a new test with a bug which causes unnecessary long runtime and timeouts on some platforms. This test fix backport resolves it. It is simple and applies cleanly.
24-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk24u/pull/153 Date: 2025-03-21 13:12:03 +0000
21-03-2025

Changeset: 1c0fa0af Branch: master Author: David Linus Briemann <david.briemann@sap.com> Committer: Martin Doerr <mdoerr@openjdk.org> Date: 2025-03-21 09:23:30 +0000 URL: https://git.openjdk.org/jdk/commit/1c0fa0af7847d80fd3fbe38f28207aab270609b3
21-03-2025

ILW = Test timeout on PPC and possibly other platforms, single test, no workaround = MLH = P4
20-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24134 Date: 2025-03-20 14:31:47 +0000
20-03-2025