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

Doug Lea dl at openjdk.org
Wed Mar 26 19:48:21 UTC 2025


On Wed, 26 Mar 2025 13:23:12 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> 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. :)

Clarified:
     * Arranges that scheduled tasks that are not executing and have
     * not already been enabled for execution will not be executed and
     * will be cancelled upon {@link #shutdown} (unless this pool is
     * the {@link #commonPool()} which never shuts down).

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

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


More information about the core-libs-dev mailing list