JDK-8331670 : Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
  • Type: Enhancement
  • Component: core-libs
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-05-03
  • Updated: 2024-06-28
  • Resolved: 2024-05-28
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 23
23 b25Fixed
Related Reports
Blocks :  
CSR :  
Relates :  
Relates :  
Description
Deprecate the memory-access methods in sun.misc.Unsafe for removal in a future release. These unsupported methods have been superseded by standard APIs, namely the VarHandle API (JEP 193, JDK 9) and the Foreign Function & Memory API (JEP 454, JDK 22). We strongly encourage library developers to migrate from sun.misc.Unsafe to supported replacements, so that applications can migrate smoothly to modern JDK releases.
Comments
I've removed the release-note=yes label from this issue as a RN will be created automatically from the JEP summary.
28-06-2024

Changeset: 0f3e2cc3 Author: Alan Bateman <alanb@openjdk.org> Date: 2024-05-28 15:05:54 +0000 URL: https://git.openjdk.org/jdk/commit/0f3e2cc334e5926d53bbbce22e4a6bfeb2752140
28-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19174 Date: 2024-05-10 10:06:55 +0000
13-05-2024