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

chris.hegarty at oracle.com chris.hegarty at oracle.com
Wed Dec 12 11:15:23 UTC 2018


Changeset: 35e2bbea78b2
Author:    tschatzl
Date:      2018-12-12 12:00 +0100
URL:       http://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes mailing list