RFR [9] 8140606: Update library code to use internal Unsafe
Martin Buchholz
martinrb at google.com
Wed Oct 28 21:42:50 UTC 2015
This will cause jsr166 CVS code to no longer be able to run on jdk8, as it
does today. We will probably need to fork soon anyways due to Paul's
VarHandle code, but we had not expected it to be necessary before then. Is
there any easy way for jsr166 CVS src/main to remain "portable" for a while
longer? Alternatively, what can we do to continue using "good old
sun.misc.Unsafe" in jsr166 CVS?
On Wed, Oct 28, 2015 at 12:55 PM, Chris Hegarty <chris.hegarty at oracle.com>
wrote:
> Following on from 8139891 "Prepare Unsafe for true encapsulation” [1],
> the JDK library code should use the internal Unsafe class, and not
> sun.misc.Unsafe.
>
> http://cr.openjdk.java.net/~chegar/8140606/00/
>
> This will be pushed to jdk9/dev once 8139891 makes its way from
> hs-rt.
>
> -Chris.
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8139891
More information about the core-libs-dev
mailing list