RFR: 8360046: Scalability issue when submitting virtual threads with almost empty tasks

Alan Bateman alanb at openjdk.org
Fri Jul 25 16:10:55 UTC 2025


On Fri, 25 Jul 2025 12:21:43 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.

I wonder if we should update forkjoin/Starvation.java now (or later) so that its exercises the second task as Runnable, Callable and ForkJoinTask. Happy to contribute more tests here as we've had so many fence issues on aarch64.

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

PR Comment: https://git.openjdk.org/jdk/pull/26479#issuecomment-3119042516


More information about the core-libs-dev mailing list