RFR 8246095: Tweaks to memory access API

Chris Hegarty chris.hegarty at oracle.com
Fri May 29 17:00:26 UTC 2020



> On 28 May 2020, at 22:25, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
> 
> Hi,
> this followup change includes a number of tweaks that have been added to the memory access API while we were in the process of integrating it. Most of them have been contributed by Chris (thanks!), and are all listed in great details in the CSR below:
> 
> https://bugs.openjdk.java.net/browse/JDK-8246096
> 
> Implementation-wise it should be all relatively straightforward - apart for the bit of surgery on lambda forms which was required to add a new kind of lambda forms to 'collect' return values. For now this method handle adaptation is package private, and can only be used by MemoryHandles::filterValues - but, if people find it useful, we might consider adding it to the MethodHandle standard combinator toolbox.
> 
> Cheers
> Maurizio
> 
> 
> Webrev:
> 
> http://cr.openjdk.java.net/~mcimadamore/8246095_v1/webrev/

I added myself as reviewer on the CSR. 

The code looks good to me.

Thanks for taking the time to include these API tweaks in JDK 15.

-Chris. 


More information about the core-libs-dev mailing list