Integrated: 8347047: Cleanup action passed to MemorySegment::reinterpret keeps old segment alive

Per Minborg pminborg at openjdk.org
Wed Jan 8 08:46:54 UTC 2025


On Tue, 7 Jan 2025 10:44:22 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to eliminate the capturing of `this` in the cleanup action of `AbstractMemorySegment::reinterpretInternal`.

This pull request has now been integrated.

Changeset: b0c935c0
Author:    Per Minborg <pminborg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b0c935c03ebb34f20f15dd8c7616c6c4526073cd
Stats:     10 lines in 1 file changed: 7 ins; 2 del; 1 mod

8347047: Cleanup action passed to MemorySegment::reinterpret keeps old segment alive

Reviewed-by: mcimadamore

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

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


More information about the core-libs-dev mailing list