On Thu, 1 Dec 2022 14:46:48 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. > > Alan Bateman has updated the pull request with a new target base due to a > merge or a rebase. The incremental webrev excludes the unrelated changes > brought in by the merge/rebase. The pull request contains six additional > commits since the last revision: > > - Expand test > - Adjust wording to make it clear that the number of tasks is non-negative > - Merge > - Improve javadoc > - Merge > - Initial commit Thank you for the changes. This looks fine to me. ------------- Marked as reviewed by jpai (Reviewer). PR: https://git.openjdk.org/jdk/pull/11319