RFR: 8340307: Add explanation around MemorySegment:reinterpret regarding arenas [v5]

Per Minborg pminborg at openjdk.org
Fri Nov 1 09:11:43 UTC 2024


> 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:

  Reword reinterpret docs

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21761/files
  - new: https://git.openjdk.org/jdk/pull/21761/files/34e5b122..771804be

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21761&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21761&range=03-04

  Stats: 18 lines in 1 file changed: 0 ins; 10 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/21761.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21761/head:pull/21761

PR: https://git.openjdk.org/jdk/pull/21761


More information about the core-libs-dev mailing list