[jdk8u-dev] RFR: 8288865: [aarch64] LDR instructions must use legitimized addresses

Alexey Pavlyutkin duke at openjdk.org
Wed Jul 20 09:14:40 UTC 2022


Hi! Here is a backport fixing offset large offsets on memory reading by Unsafe API for Aarch64. Except 11->8 path suffling the fix applied with the only change: only LDR-related part of the test is being backported cuz 8u-dev already has got STR-related one.

Verification (Ubuntu 18.04.6 LTS (GNU/Linux 4.9.0 aarch64)): 

hotspot/test/compiler/8235385/NonVolatileMemoryAccessWithLongOffset.java

10 of 10 runs PASS (5 of 10 runs FAILED before the patch applied)

Regression: hotspot/test/compiler

@theRealAph could you take a look, it's almost clean except the fact that STR-related part of test already presents in 8u-dev

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

Commit messages:
 - updates the test to cover LDR
 - remove duplicated test
 - Backport 1f4028960a3934853104efd1d95991b137b5f520

Changes: https://git.openjdk.org/jdk8u-dev/pull/84/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=84&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8288865
  Stats: 191 lines in 3 files changed: 149 ins; 2 del; 40 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/84.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/84/head:pull/84

PR: https://git.openjdk.org/jdk8u-dev/pull/84


More information about the jdk8u-dev mailing list