RFR: 8322732: ForkJoinPool may underutilize cores in async mode [v2]

Doug Lea dl at openjdk.org
Mon May 13 11:20:14 UTC 2024


On Sun, 12 May 2024 19:46: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:
>> 
>>   Address review comments
>
> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1242:
> 
>> 1240:                                         INITIAL_QUEUE_CAPACITY];
>> 1241:             this.owner = owner;
>> 1242:             //            top = base = 1;
> 
> Leftover?

Yes, sorry for mis-committing incomplete-undo that needs another compensating change to avoid small performance glitch. Will fix.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19131#discussion_r1598301076


More information about the core-libs-dev mailing list