[jdk24] RFR: 8347047: Cleanup action passed to MemorySegment::reinterpret keeps old segment alive

Aleksey Shipilev shade at openjdk.org
Wed Jan 8 10:00:45 UTC 2025


On Wed, 8 Jan 2025 08:57:33 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> Hi all,
> 
> This pull request contains a backport of commit [b0c935c0](https://github.com/openjdk/jdk/commit/b0c935c03ebb34f20f15dd8c7616c6c4526073cd) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
> 
> The commit being backported was authored by Per Minborg on 8 Jan 2025 and was reviewed by Maurizio Cimadamore.
> 
> Thanks!

I agree this is worth fixing in JDK 24. Technically P4 bug is not a candidate for a fix in RDP 1 phase, but I would say this is actually a P3 bug.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22962#pullrequestreview-2536698104


More information about the core-libs-dev mailing list