Question about `IsGCActiveMark`
Thomas Schatzl
thomas.schatzl at oracle.com
Mon Mar 25 09:50:01 UTC 2024
Hi,
On 23.03.24 15:50, Guoxiong Li wrote:
> Hi all,
>
> The `IsGCActiveMark` is used by other GCs except SerialGC. In
> `SerialHeap::do_collection`, the statement shown below implements the
> same feature as `IsGCActiveMark`.
>
> ```
> AutoModifyRestore<bool> temporarily(_is_gc_active, true);
> ```
>
> Should we adjust the SerialGC to use `IsGCActiveMark`?
go ahead.
Thomas
More information about the hotspot-gc-dev
mailing list