PING? [8u] RFR: 8135318: CMS wrong max_eden_size for check_gc_overhead_limit

Aleksey Shipilev shade at redhat.com
Wed Aug 7 15:47:41 UTC 2019


On 8/7/19 4:36 PM, Severin Gehwolf wrote:
> On Tue, 2019-07-09 at 14:37 +0200, Severin Gehwolf wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8135318
>> webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8135318/01/webrev/
>> JDK 9 change: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/dd0c55eac358

Backport looks good.

Looks like a simple fix without any bug tail. So the code in 8u would now compute eden size as
"max_young - 2*survivor", which makes sense: eden, plus from/to survivor spaces. Before it computed
it as "max_young - 3*survivor", which is erroneous. (It is weird DefNewGeneration::max_capacity()
discounts survivor space size, leading to this problem...) Right?

-- 
Thanks,
-Aleksey



More information about the jdk8u-dev mailing list