RFR: 8338737: Shenandoah: Reset marking bitmaps after the cycle [v2]

Xiaolong Peng xpeng at openjdk.org
Thu Dec 26 17:07:39 UTC 2024


On Fri, 20 Dec 2024 23:53:09 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:

>> src/hotspot/share/gc/shenandoah/shenandoahGeneration.cpp line 66:
>> 
>>> 64:         // Reset live data and set TAMS optimistically. We would recheck these under the pause
>>> 65:         // anyway to capture any updates that happened since now.
>>> 66:         _ctx->capture_top_at_mark_start(region);
>> 
>> Full GC used to do this unconditionally for all affiliated regions. Do we not still need that to happen?
>
> I will double check this, I'm not 100% sure

I have update code to handle old GC differently, now the behavior should be same as before.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22778#discussion_r1898022673


More information about the shenandoah-dev mailing list