[jdk17u] RFR: 8270533: AArch64: size_fits_all_mem_uses should return false if its output is a CAS

Alexey Pavlyutkin duke at openjdk.java.net
Wed Nov 3 06:25:36 UTC 2021


I'd like to backport JDK-8190753 to jdk11u

The fix prevents using an output of Shift-n-Add operation as an input for CAS operation that takes only register operands for Aarch64

The original patch applied cleanly

Testing: original patch does not have verification tests. Regression: arm64 / 20.04 LTS / hotspot_all (with gtests)

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

Commit messages:
 - Backport 6750c34c92b5f28bba4a88ac798b800fce380d32

Changes: https://git.openjdk.java.net/jdk17u/pull/224/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=224&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8270533
  Stats: 7 lines in 1 file changed: 7 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk17u/pull/224.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/224/head:pull/224

PR: https://git.openjdk.java.net/jdk17u/pull/224


More information about the jdk-updates-dev mailing list