Skip to content

8376803: Jtreg test compiler/vectorization/TestVectorAlgorithms.java fails after JDK-8373026#31375

Open
Sorna-Sarathi wants to merge 1 commit into
openjdk:masterfrom
Sorna-Sarathi:TestVectorAlgorithms
Open

8376803: Jtreg test compiler/vectorization/TestVectorAlgorithms.java fails after JDK-8373026#31375
Sorna-Sarathi wants to merge 1 commit into
openjdk:masterfrom
Sorna-Sarathi:TestVectorAlgorithms

Conversation

@Sorna-Sarathi
Copy link
Copy Markdown
Contributor

@Sorna-Sarathi Sorna-Sarathi commented Jun 3, 2026

JDK-8373026 introduced TestVectorAlgorithms. The vectorized hash computations implicitly assumed little-endian lane ordering, causing the test to fail on big-endian platforms.

This fix updates the hash computation to preserve logical byte order across platforms, making the test endianness-independent and ensuring consistent behaviour on both little-endian and big-endian architectures.

JBS Issue: JDK-8376803



Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Error

 ⚠️ 8376803 is used in problem lists: [test/hotspot/jtreg/ProblemList.txt]

Issue

  • JDK-8376803: Jtreg test compiler/vectorization/TestVectorAlgorithms.java fails after JDK-8373026 (Bug - P4)(⚠️ The fixVersion in this issue is [27] but the fixVersion in .jcheck/conf is 28, a new backport will be created when this pr is integrated.)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31375/head:pull/31375
$ git checkout pull/31375

Update a local copy of the PR:
$ git checkout pull/31375
$ git pull https://git.openjdk.org/jdk.git pull/31375/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 31375

View PR using the GUI difftool:
$ git pr show -t 31375

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31375.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Jun 3, 2026

👋 Welcome back ssarathi! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Jun 3, 2026

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot added the hotspot-compiler hotspot-compiler-dev@openjdk.org label Jun 3, 2026
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Jun 3, 2026

@Sorna-Sarathi The following label will be automatically applied to this pull request:

  • hotspot-compiler

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Jun 3, 2026

The total number of required reviews for this PR has been set to 2 based on the presence of this label: hotspot-compiler. This can be overridden with the /reviewers command.

@Sorna-Sarathi Sorna-Sarathi changed the title 8376803: Fix compiler/vectorization/TestVectorAlgorithms.java fails after JDK-8373026 8376803: Jtreg test compiler/vectorization/TestVectorAlgorithms.java fails after JDK-8373026 Jun 3, 2026
@Sorna-Sarathi Sorna-Sarathi force-pushed the TestVectorAlgorithms branch from 7187028 to 27dc977 Compare June 4, 2026 11:08
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Jun 4, 2026

@Sorna-Sarathi Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@openjdk openjdk Bot added the rfr Pull request is ready for review label Jun 4, 2026
@mlbridge
Copy link
Copy Markdown

mlbridge Bot commented Jun 4, 2026

Webrevs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotspot-compiler hotspot-compiler-dev@openjdk.org rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

1 participant