Review request for 8050804: (jdeps) Recommend supported API to replace use of JDK internal API

Paul Sandoz paul.sandoz at oracle.com
Wed Jul 16 11:34:31 UTC 2014


On Jul 16, 2014, at 1:25 PM, Remi Forax <forax at univ-mlv.fr> wrote:
> 
> On 07/16/2014 01:35 AM, Mandy Chung wrote:
>> jdeps -jdkinternals flags use of JDK internal APIs.  We have created a wiki page to keep track of the JDK internal APIs and its replacement:
>> https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
> 
> not sure to understand why Shenandoah is listed in the list related to sun.misc.unsafe,
> (yes, setting the value of a field or an array location may require to update some GC data structure but it seems far fetched)
> 

As far as i am aware one use-case for Unsafe is to manage some memory off-heap to reduce GC pause times.

Paul.



More information about the core-libs-dev mailing list