[foreign-memaccess+abi] RFR: 8274978: Add implicit allocator factory

Paul Sandoz psandoz at openjdk.java.net
Fri Oct 8 20:42:41 UTC 2021


On Fri, 8 Oct 2021 14:11:37 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> When rewriting tests, and also jextract, we found that the "implicit" segment allocator - that is, an allocator which returns native segments backed by fresh implicit scopes, is used quite frequently.
> 
> This patch adds a blessed factory for it, and it beefs up the allocator test, so that all allocators are tested (except for prefix, which is kind of peculiar).

Marked as reviewed by psandoz (Committer).

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

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


More information about the panama-dev mailing list