New candidate JEP: 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal

Mark Reinhold mark.reinhold at oracle.com
Fri May 3 15:11:42 UTC 2024


https://openjdk.org/jeps/471

  Summary: 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.

- Mark


More information about the jdk-dev mailing list