Withdrawn: 8357531: The `SegmentBulkOperations::fill` method can be improved using overlaps

Per Minborg pminborg at openjdk.org
Tue Aug 26 06:34:51 UTC 2025


On Thu, 22 May 2025 07:34:08 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> 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).
> 
> This PR passes tier1, tier2, and tier3 on multiple platforms.

This pull request has been closed without being integrated.

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

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


More information about the core-libs-dev mailing list