RFR: 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads

Jorn Vernee jvernee at openjdk.org
Mon May 29 17:29:54 UTC 2023


On Mon, 29 May 2023 10:39:19 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> There's an obvious bug in `AbstractMemorySegmentImpl::reinterpret(long, Arena, Consumer)`: this method does not pass the consumer down to the internal implementation method (it just passes `null`). As a result, the cleanup is not registered.

Marked as reviewed by jvernee (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/14199#pullrequestreview-1449744149


More information about the core-libs-dev mailing list