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

Hamlin Li mli at openjdk.java.net
Mon Nov 15 10:11:43 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.

This pull request has now been integrated.

Changeset: b231f5ba
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b231f5baa94c7104324cd206c1081b35fd27164c
Stats:     15 lines in 2 files changed: 0 ins; 12 del; 3 mod

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

Reviewed-by: ayang, tschatzl

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

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



More information about the hotspot-gc-dev mailing list