RFR: 8307348 - Parallelize heap walk for ObjectCount(AfterGC) JFR event collection [v4]

Albert Mingkun Yang ayang at openjdk.org
Fri May 5 11:16:21 UTC 2023


On Fri, 5 May 2023 06:49:15 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> I think safepoint_workers is "fine" to use from VM_GC_HeapInspection.

I see; the name contains "GC", but it doesn't really correspond to a gc-safepoint (young/full gc pause). (To make matters worse, that vm-op can potentially perform a full-gc...)

Then, `populate_table` will get diff workers, depending whether it's called inside a gc-safepoint or not.

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

PR Comment: https://git.openjdk.org/jdk/pull/13774#issuecomment-1536098617


More information about the hotspot-gc-dev mailing list