RFR: 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon May 29 10:45:59 UTC 2023
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.
-------------
Commit messages:
- Remove redundant import
- Initial push
Changes: https://git.openjdk.org/jdk/pull/14199/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14199&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8309042
Stats: 16 lines in 2 files changed: 15 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/14199.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14199/head:pull/14199
PR: https://git.openjdk.org/jdk/pull/14199
More information about the core-libs-dev
mailing list