JDK-8317235 : Remove Access API use in nmethod class
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-09-28
  • Updated: 2024-04-04
  • Resolved: 2023-10-03
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 22
21.0.4-oracleFixed 22 b18Fixed
Related Reports
Relates :  
Description
The Access API is supposed to be only used for access to the Java heap, but some (two) nmethod methods use it to access C heap addresses. Remove with corresponding Atomic uses.
Comments
ix request [21u] I backport this for parity with 21.0.4-oracle Low risk. Simple cleanup, already productive in 22. Clean backport. SAP nightly testing passed.
03-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/431 Date: 2024-04-02 07:22:44 +0000
02-04-2024

Changeset: c47a0ce3 Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2023-10-03 14:31:12 +0000 URL: https://git.openjdk.org/jdk/commit/c47a0ce3f03daf7a4ec0c0c8b8626bb662836936
03-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15962 Date: 2023-09-28 11:29:09 +0000
28-09-2023