RFR: 8333886: Explicitly specify that asSlice and reinterpret return a memory segment backed by the same region of memory.
Jorn Vernee
jvernee at openjdk.org
Mon Jun 10 17:14:11 UTC 2024
On Mon, 10 Jun 2024 15:45:07 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> 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.
The term 'subset' doesn't feel right to me here, since we're only talking about a single memory region (not a set of memory region**s**). I suggest 'sub-region' instead.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19633#issuecomment-2158892356
More information about the core-libs-dev
mailing list