RFR: 8319447: Improve performance of delayed task handling [v13]
Viktor Klang
vklang at openjdk.org
Wed Mar 26 13:26:18 UTC 2025
On Wed, 26 Mar 2025 13:14:45 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 3743:
>>
>>> 3741: * @since 25
>>> 3742: */
>>> 3743: public void cancelDelayedTasksOnShutdown() {
>>
>> @DougLea Should this really be possible to enable for the common pool? (Because different parts of an application using commonPool() could have conflicting requirements)
>
> The commonPool can't be shutdown (both shutdown methods are specified to have no effect on the common pool) so I suppose it doesn't really matter.
Heh, that's a fair point, Alan. :)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23702#discussion_r2014136215
More information about the core-libs-dev
mailing list