RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v5]
Viktor Klang
vklang at openjdk.org
Mon Dec 15 10:01:12 UTC 2025
On Sun, 14 Dec 2025 13:06:46 GMT, Doug Lea <dl at openjdk.org> wrote:
>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>
> Adjust runworker for previous update
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1881:
> 1879: else
> 1880: nc = (v.stackPred & LMASK) | (c & TC_MASK) | ac;
> 1881: if (c == (c = compareAndExchangeCtl(c, nc))) {
I think the risk here is that this introduces more cache-coordination contention, esp. on multisocket aarch64.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2618743184
More information about the core-libs-dev
mailing list