> 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. > > It should be noted that the performance of the fill operation affects the > allocation of new segments (as they are zeroed out before being returned to > the client code).
Per Minborg has updated the pull request incrementally with one additional commit since the last revision: Update benchmark to reflect new fill method ------------- Changes: - all: https://git.openjdk.org/jdk/pull/25383/files - new: https://git.openjdk.org/jdk/pull/25383/files/eadf067b..5c878bbd Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=25383&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25383&range=03-04 Stats: 19 lines in 1 file changed: 4 ins; 3 del; 12 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