Integrated: 8333886: Explicitly specify that asSlice and reinterpret return a memory segment backed by the same region of memory.

Per Minborg pminborg at openjdk.org
Wed Jun 12 09:38:21 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.

This pull request has now been integrated.

Changeset: c80e2eb3
Author:    Per Minborg <pminborg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c80e2eb35c4eb03f17a2a31e979e5c369453e203
Stats:     21 lines in 1 file changed: 21 ins; 0 del; 0 mod

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

Reviewed-by: jvernee, mcimadamore

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

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


More information about the core-libs-dev mailing list