RFR [9] 8140606: Update library code to use internal Unsafe

Chris Hegarty chris.hegarty at oracle.com
Thu Oct 29 14:12:14 UTC 2015

On 28 Oct 2015, at 22:14, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 28/10/2015 19:55, Chris Hegarty 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.
> With the interim CORBA removed then can the corba repo copy of ManagedLocalsThread go away instead of switching it to the internal Unsafe? Otherwise looks good to me.

Yes, good point. I updated just the corba webrev.


I’ll be tackling ManageLocalsThread separately in the near
future so have done just the minimum in corba for now.


More information about the core-libs-dev mailing list