RFR: 8302215: G1: Last-ditch Full GC should do serial compaction for tail regions in per thread compaction points. [v4]
Ivan Walulya
iwalulya at openjdk.org
Fri Feb 17 09:10:18 UTC 2023
On Fri, 17 Feb 2023 08:35:54 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> Ivan Walulya has updated the pull request incrementally with one additional commit since the last revision:
>>
>> combine prepare with adding regions to compaction point
>
> src/hotspot/share/gc/g1/g1FullCollector.cpp line 382:
>
>> 380: HeapWord* dense_prefix_top = nullptr;
>> 381: for (uint i = lowest_current; i < _heap->max_reserved_regions(); i++) {
>> 382: if (_region_attr_table.is_free(i) || _region_attr_table.is_compacting(i)) {
>
> Suggestion:
>
> if (is_compaction_target(i)) {
>
> This predicate is already available.
Thanks, I missed that.
-------------
PR: https://git.openjdk.org/jdk/pull/12529
More information about the hotspot-gc-dev
mailing list