RFR: 8360046: Scalability issue when submitting virtual threads with almost empty tasks [v22]
Viktor Klang
vklang at openjdk.org
Thu Nov 27 15:53:02 UTC 2025
On Wed, 26 Nov 2025 15:35:13 GMT, Doug Lea <dl at openjdk.org> wrote:
>> This set of updates reduces contention-based performance loss under heavy over-subscription, while also improving perfomance more generally.
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>
> For testing
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1435:
> 1433: */
> 1434: final void topLevelExec(ForkJoinTask<?> task, int cfg) {
> 1435: int fifo = cfg & FIFO, clr = cfg & CLEAR_TLS;
@DougLea `clr` isn't used (so there's no clearing of TLs)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26479#discussion_r2569349951
More information about the core-libs-dev
mailing list