On Wed, 23 Nov 2022 12:40:05 GMT, Alan Bateman <al...@openjdk.org> wrote:

> The proposed updates for JDK 20 are:
> 
> - ForkJoinPool.externalSubmit 
> - ForkJoinWorkerThread.getQueuedTaskCount 
> 
> These methods will be used to improve the Thread.yield implementation for 
> virtual threads. The range of alternatives explored include not exposing an 
> API and protected methods such as "offerSubmission". The class description 
> speaks of "external clients" and "submissions from non-ForkJoinTask clients", 
> hence the proposed naming and javadoc text.

This pull request has now been integrated.

Changeset: 19d84988
Author:    Alan Bateman <al...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/19d849884bd7a9718a5050b9709657f231a1ddbc
Stats:     276 lines in 4 files changed: 272 ins; 0 del; 4 mod

8297495: j.u.concurrent updates for JDK 20

Reviewed-by: jpai

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

PR: https://git.openjdk.org/jdk/pull/11319

Reply via email to