RFR: 8328928: Serial: Use IsGCActiveMark instead of AutoModifyRestore in SerialHeap::do_collection

Albert Mingkun Yang ayang at openjdk.org
Mon Mar 25 14:37:38 UTC 2024


On Mon, 25 Mar 2024 14:26:34 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Hi all,
> 
> This patch uses `IsGCActiveMark` instead of `AutoModifyRestore` in `SerialHeap::do_collection` so that all the GCs use the `IsGCActiveMark` uniformly. The tests `make test-tier1_gc` passed locally.
> 
> Thanks for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

Marked as reviewed by ayang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/18473#pullrequestreview-1957919160


More information about the hotspot-gc-dev mailing list