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

Aleksey Shipilev shade at openjdk.org
Wed May 8 07:58:51 UTC 2024


On Tue, 7 May 2024 20:30:44 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> But is it really necessary? IMO, some stack walk code can also benefit from `oopMapCache`, e.g. https://github.com/openjdk/jdk/blob/master/src/hotspot/share/prims/stackwalk.cpp#L345

Ah, hm. Looking closer, I don't quite see why we even want to gate `OopMapCache` with GC checks. I asked Coleen in the bug here: [JDK-8331572](https://bugs.openjdk.org/browse/JDK-8331572).

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

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


More information about the hotspot-gc-dev mailing list