RFR: 8319447: Improve performance of delayed task handling [v9]

Doug Lea dl at openjdk.org
Thu Mar 13 17:49:58 UTC 2025


On Thu, 13 Mar 2025 14:17:29 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Use SharedSecrets for ThreadLocalRandomProbe; other tweaks
>
> src/java.base/share/classes/java/util/concurrent/atomic/Striped64.java line 193:
> 
>> 191: 
>> 192:     /**
>> 193:      * Returns the ThreadLocalRandom probe value for the current thread.
> 
> I suppose this shouldn't say "current thread" anymore, and advanceProbe uses "the given thread" then it really means the current carrier thread.

Thanks. Added "carrier" here and in advanceProbe

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23702#discussion_r1994044096


More information about the core-libs-dev mailing list