RFR: 8340307: Add explanation around MemorySegment:reinterpret regarding arenas [v6]
Jorn Vernee
jvernee at openjdk.org
Mon Nov 4 14:11:32 UTC 2024
On Mon, 4 Nov 2024 14:08:08 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.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Update src/java.base/share/classes/java/lang/foreign/MemorySegment.java
>
> Co-authored-by: Jorn Vernee <JornVernee at users.noreply.github.com>
Marked as reviewed by jvernee (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/21761#pullrequestreview-2413171645
More information about the core-libs-dev
mailing list