On Tue, 29 Oct 2024 12:20:01 GMT, Per Minborg <[email protected]> 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 <[email protected]>
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

Reply via email to