RFR: 8347047: cleanup action passed to MemorySegment::reinterpret keeps old segment alive

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Jan 7 11:32:36 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`.

Looks good.

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

Marked as reviewed by mcimadamore (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22943#pullrequestreview-2534105748


More information about the core-libs-dev mailing list