RFR: 8254167 G1: Record regions where evacuation failed to provide targeted iteration [v4]

Hamlin Li mli at openjdk.java.net
Thu Sep 2 12:39:31 UTC 2021


On Thu, 2 Sep 2021 08:11:48 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Agree. I think the reason is that we have mixed iteration itself with the logic in hrm/cset/evac failure regions.
>> One option to do might be to extract the iteration logic separately, should we do this in a separate issue?
>
> Either that, or provide a data structure that encapsulates an array that items can be atomically added to including the iteration.

Do you mean to just do some refactoring for G1EvacuationFailureRegions or for hrm/cset together?

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

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



More information about the hotspot-gc-dev mailing list