Question about `IsGCActiveMark`
Guoxiong Li
lgxbslgx at gmail.com
Sat Mar 23 14:50:04 UTC 2024
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`?
Best Regards,
-- Guoxiong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20240323/7321a8a0/attachment.htm>
More information about the hotspot-gc-dev
mailing list