[foreign-memaccess+abi] RFR: 8296417: Make memory session a pure lifetime abstraction [v8]

Jorn Vernee jvernee at openjdk.org
Wed Nov 9 16:42:31 UTC 2022


On Mon, 7 Nov 2022 14:01:29 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Add description
>
> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test/micro/org/openjdk/bench/java/lang/foreign/StrLenTest.java
>   
>   Co-authored-by: Jorn Vernee <JornVernee at users.noreply.github.com>

`Arena` in HotSpot is like `monotonic_buffer_resource`, i.e. a linked list of slabs that grows over time, where the slabs get sliced into pieces to fulfill allocation requests. But in general I understand `Arena` to just be something that groups multiple allocations. The particular allocation strategy seems less important to understanding what an arena is than the grouping property.

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

PR: https://git.openjdk.org/panama-foreign/pull/750


More information about the panama-dev mailing list