RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v26]
Doug Lea
dl at openjdk.org
Mon Feb 9 21:32:16 UTC 2026
On Thu, 15 Jan 2026 14:29:02 GMT, Viktor Klang <vklang at openjdk.org> wrote:
>> 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?
Because external queues don't have owners, so it would never apply.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2779782366
More information about the core-libs-dev
mailing list