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

Jorn Vernee jvernee at openjdk.org
Mon Nov 24 18:27:47 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

Sorry, this fell of my radar.

test/micro/org/openjdk/bench/java/lang/foreign/SegmentBulkMismatch.java line 148:

> 146:             }
> 147:             return -1;
> 148:         }

Should we have the `IntInt` and `IntLong` variants as well?

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

PR Review: https://git.openjdk.org/jdk/pull/28260#pullrequestreview-3501692240
PR Review Comment: https://git.openjdk.org/jdk/pull/28260#discussion_r2557295857


More information about the core-libs-dev mailing list