RFR: 8322732: ForkJoinPool may underutilize cores in async mode [v2]
Sunmisc Unsafe
duke at openjdk.org
Thu May 16 10:32:06 UTC 2024
On Sun, 12 May 2024 13:12:24 GMT, Doug Lea <dl at openjdk.org> wrote:
>> This set of changes address causes of poor utilization with small numbers of cores due to overly aggressive contention avoidance. A number of further adjustments were needed to still avoid most contention effects in deployments with large numbers of cores
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>
> Address review comments
Maybe I don't quite understand, or I don't have proof, But wouldn't it be better if invokeAll in FIFO mode (asyncMode) traverses the Future list as a FIFO (currently it traverses in LIFO order)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19131#issuecomment-2114836374
More information about the core-libs-dev
mailing list