RFR: 8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block

Kim Barrett kbarrett at openjdk.org
Wed Apr 19 06:11:42 UTC 2023


On Tue, 18 Apr 2023 12:32:05 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple removing of a superfluous assertion.

I agree this assert doesn't much of anything useful.  It would probably be more useful
if it asserted that `hr != nullptr`, but even that isn't particularly helpful.

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13509#pullrequestreview-1391317680


More information about the hotspot-gc-dev mailing list