RFR: 8369814: G1: Relax card mark and store ordering [v2]
Albert Mingkun Yang
ayang at openjdk.org
Tue Oct 14 12:01:30 UTC 2025
On Tue, 14 Oct 2025 11:43:00 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> review
>
> src/hotspot/share/gc/shared/cardTableBarrierSet.cpp line 116:
>
>> 114: }
>> 115: if (new_obj->is_typeArray() || _card_table->is_in_young(new_obj)) {
>> 116: // Arrays of non-references don't need a post-barrier.
>
> Pre-existing: Maybe `CardTable::is_in_young()` can be made `protected` instead of `public`.
Need to be public; otherwise, build error.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27794#discussion_r2428885012
More information about the hotspot-gc-dev
mailing list