RFR: 8315247: GenShen: Condition calls to post-write barrier code generation by a flag

Kelvin Nilsen kdnilsen at openjdk.org
Tue Aug 29 18:48:29 UTC 2023


On Mon, 28 Aug 2023 21:52:55 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

>> If we make this visible on the command line, we will want to make sure it is consistent with mode->is_generational().  Right?
>
> (or you could say, if they turn off ShenandoahCardBarrier, that would mean we have no remembered set and always scan all of old-gen.  but that would be a lot more work for us, and of no value, I think...)

maybe just fatal out in ShenandoahArguments if mode->is_generational() and !ShenandoahCardBarrier.  So the user has to specify ShenandoahCardBarrier if they specify ShenandoahGCMode == generational.

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

PR Review Comment: https://git.openjdk.org/shenandoah/pull/313#discussion_r1308001950


More information about the shenandoah-dev mailing list