RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v26]

Viktor Klang vklang at openjdk.org
Thu Jan 15 14:32:33 UTC 2026


On Wed, 14 Jan 2026 12:41:50 GMT, Doug Lea <dl at openjdk.org> wrote:

>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Another set of contend vs deactivate vs park tradeoffs

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

> 2591:                 break;
> 2592:             if ((q = qs[i = (id = r & EXTERNAL_ID_MASK) & (n - 1)]) == null) {
> 2593:                 WorkQueue newq = new WorkQueue(null, id, 0, false);

@DougLea Is there a specific reason as to why CLEAR_TLS is false here?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2694612904


More information about the core-libs-dev mailing list