JDK-8371205 : AArch64: Remove unused cmpxchg* methods
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2025-11-04
  • Updated: 2025-11-11
  • Resolved: 2025-11-05
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 26
26 b23Fixed
Related Reports
Causes :  
Description
Since JDK-8364406, the AArch64 macroAssembler method `cmpxchg_obj_header` is no longer used. The method `cmpxchgptr` is used by `cmpxchg_obj_header` however is not used by any other method so can be removed alongside `cmpxchgptr`. `cmpxchgw` is also unused and can be removed.
Comments
Changeset: c9a98169 Branch: master Author: Samuel Chee <samche01@arm.com> Committer: Fei Gao <fgao@openjdk.org> Date: 2025-11-05 13:56:26 +0000 URL: https://git.openjdk.org/jdk/commit/c9a98169cb79df235316cb38a804d539044ea57e
05-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28131 Date: 2025-11-04 13:41:04 +0000
04-11-2025