On Wed, 25 Nov 2026 14:13:37 GMT, Doug Lea <[email protected]> wrote:

>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Copy-edit; ensure parking status reset

Just a few typos in the updated description.

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 275:

> 273:      * we null out taken slots as soon as we can, to maintain as small
> 274:      * a footprint as possible even in programs generating huge
> 275:      * numbers of tasks, requiring atomic operationson queue

operationson -> operations on

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 528:

> 526:      *    every worker to activate another when it pushes a task into
> 527:      *    an empty queue, resulting in O(log(#threads)) steps to full
> 528:      *    activation. Emptiness must be conservatively (and somwhat

somwhat -> somewhat

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 555:

> 553:      *    needed, but must be signalled in case stolen tasks don't
> 554:      *    complete in a timely manner (or ever). This accentuates the
> 555:      *    need for contention reduction when too may workers look for

too may workers -> too many workers

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 644:

> 642:      *  * Unnecessary reactivation is avoided in many cases in which
> 643:      *    other workers will take available tasks, by relying on retries
> 644:      *    that are evoided when there aren't any such tasks.

evoided -> avoided

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 960:

> 958:      * less-contended applications. To help arrange this, some
> 959:      * non-reference fields are declared as "long" even when ints or
> 960:      * shorts would suffice.  For class WorkQueue, thw base field is

thw -> the

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1445:

> 1443: 
> 1444:         /**
> 1445:          * Updates state after one more more task executions

more more -> more

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

PR Review: https://git.openjdk.org/jdk/pull/28797#pullrequestreview-6103411053
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4731882715
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4731883447
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4731884482
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4731885599
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4731886527
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4731888161

Reply via email to