RFR: 8325635: Serial: Use concrete type for verify_used_region_at_save_marks

Stefan Karlsson stefank at openjdk.org
Mon Feb 12 13:19:54 UTC 2024


On Mon, 12 Feb 2024 12:57:11 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial signature update.

Looks good.

Though it is not clear to me that it is worth having a separate function for this instead of just inlining this code into scan_old_to_young_ref. I was wondering what the name `verify_used_region_at_save_marks` meant and why it was taking a TenuredSpace. It made more sense when I read the code in conjuncture with the caller.

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

Marked as reviewed by stefank (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17807#pullrequestreview-1875216183


More information about the hotspot-gc-dev mailing list