RFR: 8365017: The SegmentBulkOperations::copy method can be improved using overlaps [v3]

Per Minborg pminborg at openjdk.org
Fri Aug 8 12:52:26 UTC 2025


> This PR proposes to use overlapping memory areas in `SegmentBulkOperations::copy`, similar to what is proposed for `SegmentBulkOperations::fill` in https://github.com/openjdk/jdk/pull/25383.
> 
> This PR passes `tier1`, `tier2`, and `tier3`testing on multiple platforms.

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Add a branchless overlaps method

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26672/files
  - new: https://git.openjdk.org/jdk/pull/26672/files/b60832ce..fc4f00bb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26672&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26672&range=01-02

  Stats: 24 lines in 2 files changed: 14 ins; 3 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/26672.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26672/head:pull/26672

PR: https://git.openjdk.org/jdk/pull/26672


More information about the core-libs-dev mailing list