RFR: 8345423: Shenandoah: Parallelize concurrent cleanup [v8]

Xiaolong Peng xpeng at openjdk.org
Tue Dec 10 23:24:40 UTC 2024


On Tue, 10 Dec 2024 23:07:00 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

> Which other caller? 

Sorry for the confusion, not the caller of this specific method.

I meant to say the the mutator thread, mutator may call try_recycle_trashed here https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp#L1005 under heap-lock, we have removed the heap-lock from GC concurrent cleanup, therefore it becomes race condition between mutator and GC threads.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22538#discussion_r1879060999


More information about the hotspot-gc-dev mailing list