RFR: 8343468: GenShen: Enable relocation of remembered set card tables [v5]

Cesar Soares Lucas cslucas at openjdk.org
Wed Mar 5 00:57:54 UTC 2025


On Tue, 4 Mar 2025 17:53:57 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Cesar Soares Lucas has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Revert changes to shared cardTable.hpp
>>  - Revert changes to shared cardTable.hpp
>
> src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp line 258:
> 
>> 256:   if (ShenandoahCardBarrier) {
>> 257:     ShenandoahThreadLocalData::set_card_table(Thread::current(), bs->card_table()->write_byte_map_base());
>> 258:   }
> 
> Er. This sets up card table for VMThread, right? I am surprised we do not need this for other fields in `ShenandoahThreadLocalData`.

Yes, that's for the VMThread. That seems like a good question. I

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23170#discussion_r1980492593


More information about the shenandoah-dev mailing list