The description and use recommendations in Reference.reachabilityFence need some improvements.
Refer to the openjdk email: related to deprecation of Object.finalize.
http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-March/047035.html
Refer to the openjdk email: related to deprecation of Object.finalize.
http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-March/047035.html
- duplicates
-
JDK-8191002 Arrays.fill() in finalizer mangles newly allocated array in another thread
- Closed
-
JDK-8191002 Arrays.fill() in finalizer mangles newly allocated array in another thread
- Closed
- relates to
-
JDK-8314480 Memory ordering spec updates in java.lang.ref
- Resolved
-
JDK-8133348 Reference.reachabilityFence
- Resolved
-
JDK-8149610 (ref) Reference construction vs referent lifetime races
- Open