Integrated: 8276721: G1: Refine G1EvacFailureObjectsSet::iterate
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.
Author: Hamlin Li <mli at openjdk.org>
Stats: 13 lines in 5 files changed: 1 ins; 0 del; 12 mod
8276721: G1: Refine G1EvacFailureObjectsSet::iterate
Reviewed-by: tschatzl, ayang
More information about the hotspot-gc-dev