RFR: 8371571: Consolidate and enhance bulk memory segment ops benchmarks [v4]

Jorn Vernee jvernee at openjdk.org
Mon Nov 24 19:06:43 UTC 2025


On Fri, 14 Nov 2025 12:47:16 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR proposes to consolidate and standardize the benchmarks related to the bulk operations for memory segments. 
>> 
>> All the benchmarks will now run with (heap|native)x(aligned|unaligned)x(intint|intlong|longlong) combinations.
>> 
>> It should be noted that with this change, the running time for the benchmarks would increase significantly.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add loop variant for mismatch

Looking at this again, it looks like the results of `SegmentBulkCopy.Array.bufferCopy` you posted above don't scale with the size? Is the benchmark code correct?

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

PR Comment: https://git.openjdk.org/jdk/pull/28260#issuecomment-3572282927


More information about the core-libs-dev mailing list