[foreign-memaccess+abi] RFR: Improve performance of Arena::allocateFrom [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Aug 14 09:42:35 UTC 2023


On Sat, 12 Aug 2023 04:27:41 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Why not use malloc/memset/free by default instead of Unsafe?

We could do that. The main question is what developers think re. NativeMemoryTracking, which is enabled in Unsafe - see:

https://mail.openjdk.org/pipermail/panama-dev/2023-August/019623.html

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

PR Comment: https://git.openjdk.org/panama-foreign/pull/855#issuecomment-1677005263


More information about the panama-dev mailing list