On Mon, 29 May 2023 10:39:19 GMT, Maurizio Cimadamore <mcimadam...@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. This pull request has now been integrated. Changeset: 2b186e24 Author: Maurizio Cimadamore <mcimadam...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/2b186e246e8c51d4fd8b659872c95044f15e6951 Stats: 16 lines in 2 files changed: 15 ins; 0 del; 1 mod 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads Reviewed-by: jvernee ------------- PR: https://git.openjdk.org/jdk/pull/14199