RFR: 8276721: G1: Refine G1EvacFailureObjectsSet::iterate [v3]
Albert Mingkun Yang
ayang at openjdk.java.net
Tue Nov 9 11:13:42 UTC 2021
On Tue, 9 Nov 2021 10:13:01 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.
>
> Hamlin Li has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
Marked as reviewed by ayang (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/6303
More information about the hotspot-gc-dev
mailing list