RFR: 8357531: The `SegmentBulkOperations::fill` method can be improved using overlaps [v2]

Per Minborg pminborg at openjdk.org
Thu May 22 08:14:35 UTC 2025


> This PR builds on a concept John Rose told me about some time ago. Instead of combining memory operations of various sizes, a single large and skewed memory operation can be made to clean up the tail of remaining bytes.
> 
> This has the effect of simplifying and shortening the code. The number of branches to evaluate is reduced.

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

  Correct typo in comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25383/files
  - new: https://git.openjdk.org/jdk/pull/25383/files/1a095f60..9e0d67ec

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25383.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25383/head:pull/25383

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


More information about the core-libs-dev mailing list