RFR: 8302215: G1: Last-ditch Full GC should do serial compaction for tail regions in per thread compaction points. [v2]

Ivan Walulya iwalulya at openjdk.org
Wed Feb 15 16:26:21 UTC 2023


On Wed, 15 Feb 2023 16:09:14 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> I think what I suggested requires less code than the sorting approach.

Unfortunately, that approach is only valid if I add the bitmap as suggest by @kstefanj, otherwise you may iterate over all regions yet the serial compaction has just a few regions as for the test-case I highlighted above.

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

PR: https://git.openjdk.org/jdk/pull/12529


More information about the hotspot-gc-dev mailing list