On Wed, 16 Sep 2026 18:03:22 GMT, Viktor Klang <[email protected]> wrote:
>> 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? Maybe shorten to just mention micro benchmarks, I don't thin it has to list a specific one. I don't have a strong opinion on this. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32886#discussion_r4029337840
