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 17:09:27 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

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

Actually, nvm, that doesn't work for `reinterpret` since the returned segment can also cover a larger region of memory.

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

PR Comment: https://git.openjdk.org/jdk/pull/19633#issuecomment-2158895439


More information about the core-libs-dev mailing list