RFR: 8313574: GenShen: Completing a global mark should also complete an old mark [v2]
Y. Srinivas Ramakrishna
ysr at openjdk.org
Tue Aug 15 16:36:06 UTC 2023
On Tue, 15 Aug 2023 16:10:42 GMT, William Kemper <wkemper at openjdk.org> wrote:
>> src/hotspot/share/gc/shenandoah/shenandoahOldGeneration.cpp line 417:
>>
>>> 415: // | | | +-----------------+
>>> 416: // | | | | WAITING FOR |
>>> 417: // | +--------|---> | EVACUATIONS |
>>
>> This transition has arrows at both ends (IDLE and WAITING FOR EVACUATIONS).
>
> That is intentional, I shall also add an arrow at both ends for IDLE and WAITING FOR FILL. Global cycles do not progress the old generation through marking/bootstrapping so they are allowed to move the old generation from IDLE to one of these states at the end of global mark.
I see, so a bidirectional arrow?
It would of course be ideal (in the fullness of time) if there were events labeling the transitions, even if this required a table for the event alphabet.
-------------
PR Review Comment: https://git.openjdk.org/shenandoah/pull/304#discussion_r1294853115
More information about the shenandoah-dev
mailing list