RFR: 8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment
Maurizio Cimadamore
mcimadamore at openjdk.org
Thu Mar 21 10:14:20 UTC 2024
On Thu, 21 Mar 2024 09:23:45 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposes to remove an old optimization check that was incorrect making `AbstractMemorySegmentImpl::mismatch` always return `-1` if the source and destination segment are the same (disregarding offsets).
Marked as reviewed by mcimadamore (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/18426#pullrequestreview-1951602572
More information about the core-libs-dev
mailing list