RFR: 8276921: G1: Remove redundant failed evacuation regions calculation in RemoveSelfForwardPtrHRClosure

Hamlin Li mli at openjdk.java.net
Mon Nov 15 01:33:57 UTC 2021


On Fri, 12 Nov 2021 02:00:57 GMT, Hamlin Li <mli at openjdk.org> wrote:

> This is a minor optimization.
> We already have the number of failed evacuation region numbers, there is no need to calculate it on fly, at least in product code, so make it debug only, and add assert to verify the result.

Thanks Albert, I agree.

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

PR: https://git.openjdk.java.net/jdk/pull/6362



More information about the hotspot-gc-dev mailing list