RFR: 8331721: Introduce CollectedHeap helper methods for any GC in progress

Aleksey Shipilev shade at openjdk.org
Tue May 7 18:31:08 UTC 2024


On Tue, 7 May 2024 17:55:10 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Can you explain the purpose of this change? I assume you want to enable `oopMapCache` only when any gc is active, am I correct?

Yes, I want to replace the OopMapCache gating check with `is_any_gc_active()`. But I think tracking concurrent GCs in progress might be useful for other cases, _and_ `OopMapCache` change would require more touchups, so I don't want to cobble these together.

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

PR Comment: https://git.openjdk.org/jdk/pull/19122#issuecomment-2099050723


More information about the shenandoah-dev mailing list