On Tue, 7 Jan 2025 10:44:22 GMT, Per Minborg <pminb...@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 <pminb...@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