RFR: Full region promotion

William Kemper wkemper at openjdk.java.net
Mon Oct 4 16:41:42 UTC 2021


On Mon, 4 Oct 2021 16:26:38 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

>> src/hotspot/share/gc/shenandoah/shenandoahScanRemembered.inline.hpp line 804:
>> 
>>> 802:   size_t num_clusters = (size_t) ((num_heapwords - 1 + cluster_size) / cluster_size);
>>> 803: 
>>> 804:   if (!region->is_humongous_continuation()) {
>> 
>> Is this safe? why do we no longer need to scan humongous continuations?
>
> humongous continuations are scanned when the humongous start that "governs" the continuation is scanned.  I'll add a comment here.

Wouldn't we need to change how `end_of_range` is computed for humongous starts?

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

PR: https://git.openjdk.java.net/shenandoah/pull/75


More information about the shenandoah-dev mailing list