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

Jorn Vernee jvernee at openjdk.org
Tue Jun 11 12:26:11 UTC 2024


On Tue, 11 Jun 2024 12:22:24 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.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Change wording in doc updates

Latest version looks good to me.

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

Marked as reviewed by jvernee (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19633#pullrequestreview-2110281525


More information about the core-libs-dev mailing list