RFR: 8307236: Rendezvous GC threads under STS for monitor deflation

Erik Österlund eosterlund at openjdk.org
Thu May 4 08:31:15 UTC 2023


On Thu, 4 May 2023 08:19:25 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Not sure why this block is under `current->is_Java_thread()` block. Shouldn't we rendezvous with GC threads regardless?

Deflation is done either concurrently by the service thread, or in a safepoint by the VM thread. The current->is_Java_thread() means it's the concurrent case from the service thread. That's when it's needed. Inside of safepoints, the GC threads have already been synchronized.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13773#discussion_r1184702184


More information about the hotspot-runtime-dev mailing list