RFR: 8319447: Improve performance of delayed task handling [v2]
Doug Lea
dl at openjdk.org
Sat Feb 22 12:45:53 UTC 2025
On Fri, 21 Feb 2025 17:23:23 GMT, Viktor Klang <vklang at openjdk.org> wrote:
>> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Address feedback
>
> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2585:
>
>> 2583: * throws RejectedExecutionException if shutdown or terminating.
>> 2584: * @param r current ThreadLocalRandom.getProbe() value
>> 2585: * @param rejectOnShutdown true if throw RJE when shutdown
>
> Suggestion:
>
> * @param rejectOnShutdown true if to throw RejectedExecutionException when shutdown
done.
> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 3534:
>
>> 3532: /**
>> 3533: * Submits a one-shot task that becomes enabled after the given
>> 3534: * delay, At which point it will execute unless explicitly
>
> Suggestion:
>
> * delay, at which point it will execute unless explicitly
Reworded
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23702#discussion_r1966509464
PR Review Comment: https://git.openjdk.org/jdk/pull/23702#discussion_r1966509509
More information about the core-libs-dev
mailing list