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

Doug Lea dl at openjdk.org
Mon Feb 9 21:30:07 UTC 2026


On Mon, 26 Jan 2026 12:43:42 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Don't oversignal LIFO
>
> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1058:
> 
>> 1056:     static final int MAX_CAP          = 0x7fff;   // max # workers
>> 1057:     static final int EXTERNAL_ID_MASK = 0x3ffe;   // max external queue id
>> 1058:     static final int INVALID_ID       = 0x4000;   // unused external queue id
> 
> @DougLea INVALID_ID looks to be unused now so we could remove it.

Thanks, done.

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

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


More information about the core-libs-dev mailing list