<div dir="ltr">Hi all,<div><br></div><div>The `IsGCActiveMark` is used by other GCs except SerialGC. In `SerialHeap::do_collection`, the statement shown below implements the same feature as `IsGCActiveMark`.</div><div><br></div><div>```</div><div>AutoModifyRestore<bool> temporarily(_is_gc_active, true);<br></div><div>```</div><div><br></div><div>Should we adjust the SerialGC to use `IsGCActiveMark`?</div><div><br></div><div>Best Regards,</div><div>-- Guoxiong</div><div><br></div></div>