[foreign] RFR 8220677: Panama API should support bulk array copy to and from Java arrays

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Fri Mar 15 04:46:27 UTC 2019


Looks good.

-Sundar

On 14/03/19, 10:39 PM, Maurizio Cimadamore wrote:
> Hi,
> this patch generalizes the patch proposed and discussed in [1, 2].
>
> I've generalized BoundedArray::copyFrom/To so that they can do bulk 
> copy when possible, which will speed up Scope::allocateArray, 
> Array::toArray and the newly added Array::assign methods.
>
> Webrev:
>
> http://cr.openjdk.java.net/~mcimadamore/panama/8220677/
>
> Maurizio
>
> [1] - 
> https://mail.openjdk.java.net/pipermail/panama-dev/2019-March/004868.html
> [2] - 
> https://mail.openjdk.java.net/pipermail/panama-dev/2019-March/004842.html
>


More information about the panama-dev mailing list