Integrated: 8340307: Add explanation around MemorySegment:reinterpret regarding arenas
Per Minborg
pminborg at openjdk.org
Mon Nov 4 14:15:35 UTC 2024
On Tue, 29 Oct 2024 12:20:01 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposes to add a small text segment on the `MemorySegment::reinterpret` overloads that takes an Arena stating the responsibility of actually freeing reinterpreted segments lies with the *original* arena.
This pull request has now been integrated.
Changeset: 646d64e8
Author: Per Minborg <pminborg at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/646d64e88003ef2a2e1960cef0cc59d1a97bb912
Stats: 34 lines in 2 files changed: 29 ins; 0 del; 5 mod
8340307: Add explanation around MemorySegment:reinterpret regarding arenas
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.org/jdk/pull/21761
More information about the core-libs-dev
mailing list