Integrated: 8276721: G1: Refine G1EvacFailureObjectsSet::iterate
Hamlin Li
mli at openjdk.java.net
Wed Nov 10 01:30:10 UTC 2021
On Tue, 9 Nov 2021 03:49:12 GMT, Hamlin Li <mli at openjdk.org> wrote:
> Currently, G1EvacFailureObjectsSet::iterate(ObjectClosure* closure) is not a const method, but it looks like a const method. It will be a surprise for reader, i.e. you would not expect that an iteration method is destructive, clearing out the set it just iterated over.
> We should refine it in some way.
This pull request has now been integrated.
Changeset: e91e9d85
Author: Hamlin Li <mli at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e91e9d853272ea8f5ce490f2f0c971fd40795d74
Stats: 13 lines in 5 files changed: 1 ins; 0 del; 12 mod
8276721: G1: Refine G1EvacFailureObjectsSet::iterate
Reviewed-by: tschatzl, ayang
-------------
PR: https://git.openjdk.java.net/jdk/pull/6303
More information about the hotspot-gc-dev
mailing list