RFR: 8343933: Add a MemorySegment::fill benchmark with varying sizes [v2]

Emanuel Peter epeter at openjdk.org
Tue Nov 12 10:34:33 UTC 2024


On Mon, 11 Nov 2024 14:50:57 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR proposes to add a new `MemorySegment::fill" benchmark where the byte size of the segments varies.
>
> Per Minborg has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Add mixed test
>  - Merge branch 'master' into ms-fill-bench-sizes
>  - Use static arrays
>  - Revert changes from other branch
>  - Add benchmark
>  - Add benchmarks

But I think the full count is done per block in profiling - and that should be reasonably accurate - though hard to attribute where in the block it came from exactly.

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

PR Comment: https://git.openjdk.org/jdk/pull/22010#issuecomment-2470164128


More information about the core-libs-dev mailing list