RFR: JDK-8319662 ForkJoinPool trims worker threads too slowly [v6]

Viktor Klang vklang at openjdk.org
Tue Dec 5 16:34:43 UTC 2023


On Tue, 5 Dec 2023 16:15:31 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Reduce oversignalling and contention; add test
>
> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1970:
> 
>> 1968:                 Thread t = v.owner;
>> 1969:                 v.phase = sp;
>> 1970:                 if (v.parking != 0&& t != null) {
> 
> `if (v.parking != 0 && t != null) {`

Outdated :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16725#discussion_r1415926014


More information about the core-libs-dev mailing list