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

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Oct 8 20:48:27 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).

This pull request has now been integrated.

Changeset: fd9d6cc1
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/fd9d6cc103bdf53384323a622cbedd4ea35b4164
Stats:     219 lines in 2 files changed: 26 ins; 92 del; 101 mod

8274978: Add implicit allocator factory

Reviewed-by: psandoz

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

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


More information about the panama-dev mailing list