RFR: 8343933: Add a MemorySegment::fill benchmark with varying sizes
Francesco Nigro
duke at openjdk.org
Mon Nov 11 14:03:54 UTC 2024
On Mon, 11 Nov 2024 11:55:27 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.
Thanks @minborg for this :) Please remember to add the misprediction count if you can - or just avoid the bulk methods instead i.e. having a `nextMemorySegment()` benchmark method which make the fill to observe the different segments.
Having separate call-sites which observe always the same type(s) "could" be too lucky (and gentle) for the runtime (and its CHA)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22010#issuecomment-2468247252
More information about the core-libs-dev
mailing list