[foreign-memaccess+abi] RFR: 8263018: Improve API for lifecycle of native resources [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Mar 11 10:03:43 UTC 2021


On Wed, 10 Mar 2021 15:58:05 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> I was thinking that we could have a thread local arena based allocator - which would completely eliminate synchronization issues. I just didn't get to it. But there are options we can explore.
>
> Ok that sounds like a good idea.

Thinking more about this... thread local works fine for unbounded, not so much for bounded. I think this issue seems isolated enough that would probably better be addressed in a separate change.

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

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


More information about the panama-dev mailing list