hg: jdk/jdk: 8152724: Sum of eden before GC and current survivor capacity may be larger than heap size

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Wed Dec 12 11:12:58 UTC 2018


Changeset: 35e2bbea78b2
Author:    tschatzl
Date:      2018-12-12 12:00 +0100
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/35e2bbea78b2

8152724: Sum of eden before GC and current survivor capacity may be larger than heap size
Summary: Limit the maximum survivor size for a given GC to the remaining number of free regions.
Reviewed-by: sjohanss, sangheki

! src/hotspot/share/gc/g1/g1CollectedHeap.hpp
! src/hotspot/share/gc/g1/g1HeapTransition.cpp
! src/hotspot/share/gc/g1/g1Policy.cpp
! src/hotspot/share/gc/g1/g1Policy.hpp
+ test/hotspot/jtreg/gc/g1/TestEdenSurvivorLessThanMax.java



More information about the jdk-all-changes mailing list