On Wed, 12 Nov 2025 13:26:42 GMT, Maurizio Cimadamore <[email protected]> 
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.
>
> test/micro/org/openjdk/bench/java/lang/foreign/SegmentBulkCopy.java line 60:
> 
>> 58:     byte[] dstArray;
>> 59: 
>> 60:     public static class Array extends SegmentBulkCopy {
> 
> Should we use just one class for both arrays and byte buffers? Also, for 
> those we don't test loops?

I think we have the Array variants there so that we can compare the speed 
against the other variants.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28260#discussion_r2523770365

Reply via email to