RFR: 8338440: Parallel: Improve fragmentation mitigation in Full GC [v4]
Guoxiong Li
gli at openjdk.org
Fri Aug 23 14:33:03 UTC 2024
On Fri, 23 Aug 2024 13:32:18 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> Extend `SplitInfo` to support more fine-grained splitting to mitigate the fragmentation issue during full GC. Added comments and diagrams in the process.
>>
>> For easier review, it's best to start with `SplitInfo` and then proceed to see how it is constructed in `summarize_split_space` and consumed in `first_src_addr`. The accompanying diagrams should help create a clear mental image.
>>
>> With this patch, the exec time of `runtime/ClassInitErrors/TestOutOfMemoryDuringInit.java` using Parallel drops from ~30s to ~8s, the same as other GCs, and gc-log shows similar number of GC cycles as well.
>>
>> Test: tier1-8, systemgc micro bm, CacheStress, dacapo, specjbb2005, specjvm2008
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>
> review
Looks good.
-------------
Marked as reviewed by gli (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20590#pullrequestreview-2257397301
More information about the hotspot-gc-dev
mailing list