RFR: 8333886: Explicitly specify that asSlice and reinterpret return a memory segment backed by the same region of memory. [v2]

Per Minborg pminborg at openjdk.org
Tue Jun 11 12:22:24 UTC 2024


> This PR proposes to explicitly state that returned segments form the `asSlice` and `reinterpret` method share memory regions with `this` memory segment.
> 
> Note: The term "subset"  means a true subset or the same set.

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Change wording in doc updates

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19633/files
  - new: https://git.openjdk.org/jdk/pull/19633/files/6cde00c8..13f33e65

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19633&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19633&range=00-01

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

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


More information about the core-libs-dev mailing list