RFR: JDK-8205549 JDK-8205698 Support of flattened values in Unsafe

Paul Sandoz paul.sandoz at oracle.com
Fri Jun 29 19:23:14 UTC 2018


+1 this looks very good to me. Assuming others are ok too i think this is good to push.

You can probably remove the DirectMethodHandle getType methods if you wish.

Paul.

> On Jun 29, 2018, at 12:19 PM, mandy chung <mandy.chung at oracle.com> wrote:
> 
> On 6/29/18 11:58 AM, mandy chung wrote:
>> Revised webrev:
>> http://cr.openjdk.java.net/~mchung/valhalla/webrevs/unsafe-flat-fields-webrev.01/ 
> 
> Thinking it again, I went with the global lock suggestion.
> 
> ValueAcquire/Release/Opaque accessor method calls the ValueVolatile
> method which acquire the lock.
> 
> I also changed the static fieldValueType/staticFieldValueType to
> access the final `fieldType` field directly.
> 
> Webrev updated in place.
> 
> Mandy




More information about the valhalla-dev mailing list