RFR: Unconditional conditional card marking

Kelvin Nilsen kdnilsen at openjdk.org
Tue Apr 25 13:09:10 UTC 2023


On Fri, 21 Apr 2023 15:32:43 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> For the overwhelming majority of current systems, it makes little sense to run without conditional card marks enabled. G1, for example, makes its card marks unconditional. In other words, G1 does not respond to `UseCondCardMark`. This also simplifies code, eliminates one additional testing configuration, and provides safety for the cases where `UseCondCardMark` is accidentally disabled.
> 
> Additional testing: 
>  - [x] macos-aarch64-server-fastdebug, `hotspot_gc_shenandoah`

One thought: Should we emit a warning message if someone disables UseCondCardMark?

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

Marked as reviewed by kdnilsen (Committer).

PR Review: https://git.openjdk.org/shenandoah/pull/264#pullrequestreview-1399878313


More information about the shenandoah-dev mailing list