On Tue, 15 Sep 2026 15:41:12 GMT, Viktor Klang <[email protected]> wrote:

>> Viktor Klang has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Adding the Exchangers.java micro-benchmark
>
> src/java.base/share/classes/java/util/concurrent/Exchanger.java line 260:
> 
>> 258:      * blocking or possibly shrinking arena.
>> 259:      */
>> 260:     private static final int SPINS = 24576;
> 
> Suggestion:
> 
>     private static final int SPINS = 24576; // Determined using 
> test/micro/org/openjdk/bench/java/util/concurrent/Exchangers.java

@AlanBateman Wdyt about this comment, to aid people that in the future go 
searching for a better number?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32886#discussion_r4029186804

Reply via email to