RFR: 8339162: [REDO] JDK-8338440 Parallel: Improve fragmentation mitigation in Full GC

Albert Mingkun Yang ayang at openjdk.org
Mon Nov 4 11:01:40 UTC 2024


On Mon, 4 Nov 2024 10:55:45 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> This PR consists of two commits, the original and bug-fix.
> 
> The original patch calculates the dest-count for the preceding live words incorrectly -- `preceding_destination` can be on region-boundary.
> 
> Test: TEST=gc/TestSoftReferencesBehaviorOnOOME.java fails ~4/100 without the fix but passes with the fix.

@lgxbslgx @zhengyu123 @walulyai Could you take a look?

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

PR Comment: https://git.openjdk.org/jdk/pull/21872#issuecomment-2454400845


More information about the hotspot-gc-dev mailing list