RFR: 8340547: Starting many threads can delay safepoints [v2]

David Holmes dholmes at openjdk.org
Mon Sep 23 09:31:35 UTC 2024


On Mon, 23 Sep 2024 09:16:09 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:

> Do you mean what is the overhead of creating the threads themselves, compared to the time-to-safepoint issue?

Yes. By adding the additional layer of throttling you've addressed your TTSP issue but at the expense of slowing down the overall rate of thread creation. So what is the likely overhead for applications that create lots of threads (at a relatively fast rate) but which don't see a TTSP issue?

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

PR Comment: https://git.openjdk.org/jdk/pull/21111#issuecomment-2367674769


More information about the hotspot-dev mailing list