RFR: Improve humongous remset scan

William Kemper wkemper at openjdk.java.net
Tue Jun 14 22:39:27 UTC 2022


On Tue, 14 Jun 2022 20:09:14 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> These changes allow humongous objects residing within the remembered set to be scanned by muitiple concurrent GC worker threads, allowing more efficient parallelization of the remembered set scanning effort.

src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp line 585:

> 583: // DO NOT CANCEL.  If this worker thread has accepted responsibility for scanning a particular range of addresses, it
> 584: // must finish the work before it can be cancelled.
> 585: void ShenandoahHeapRegion::oop_iterate_humongous_slice(OopIterateClosure* blk, bool dirty_only,

Should this also be used during marking scan?

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

PR: https://git.openjdk.org/shenandoah/pull/144


More information about the shenandoah-dev mailing list