[foreign-memaccess] RFR: Backport Foreign methods from foreign-abi back to foreign-memaccess

Henry Jen henryjen at openjdk.java.net
Thu Apr 2 18:37:17 UTC 2020


On Thu, 2 Apr 2020 18:22:19 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This is a straight backport for
> 
> https://git.openjdk.java.net/panama-foreign/pull/81
> 
> The only other thing I've fixed is a byte buffer test that was intermittently causing OOME. I realized that:
> 
> * the test was allocating an absurd amount of native memory (max int * 2)
> * the test was not closing the native segment afterwards
> 
> Both issues are now addressed.

Looks good to me

-------------

Marked as reviewed by henryjen (Committer).

PR: https://git.openjdk.java.net/panama-foreign/pull/91


More information about the panama-dev mailing list