hg: jdk9/hs-rt/hotspot: 8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Fri Jun 19 11:15:51 UTC 2015


Changeset: fdc0cb96061f
Author:    tschatzl
Date:      2015-06-19 11:27 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/fdc0cb96061f

8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
Summary: After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.
Reviewed-by: jmasa, fzhinkin

! src/share/vm/gc/g1/g1Allocator.hpp
! test/gc/survivorAlignment/TestAllocationInEden.java
! test/gc/survivorAlignment/TestPromotionFromEdenToTenured.java
! test/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java
! test/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java
! test/gc/survivorAlignment/TestPromotionToSurvivor.java



More information about the jdk9-all-changes mailing list