JEP draft: Deprecate Memory-Access Methods in sun.misc.Unsafe for Removal
Summary
Deprecate the memory-access methods in sun.misc.Unsafe for removal in a future release. These unsupported methods have had supported replacements since JDK 9 (for accessing on-heap memory) and JDK 22 (for accessing off-heap memory). Library developers are strongly encouraged to migrate from sun.misc.Unsafe to the supported replacements, so that applications can migrate smoothly to modern JDKs.
Goals
Prepare for the removal of the memory-access methods in sun.misc.Unsafe in a future JDK r...
Read more at openjdk.org