RFR: 8236073: G1: Use SoftMaxHeapSize to guide GC heuristics

Thomas Schatzl thomas.schatzl at oracle.com
Wed Feb 19 10:54:29 UTC 2020


On 19.02.20 11:44, Liang Mao wrote:
> Hi Thomas,
> When I was testing those benchmarks like specjbb2015 and specjvm2008,
> the expansions mostly happened at remark. So I guess the expansion after
> concurrent mark at peak usage based on a minimal capacity might
> prevent several expansions in normal young collections. It's only my
> thinking since I don't have much performance data. I don't have any
> problems with expanding after young collection:)

We'll collect perf data about this.

> BTW, do you and Stefan prefer to leave the shrink at remark for fixing
> the failure of JEP346 and handling the idle scenario?

Yes, and since Stefan suggested that we should shrink during Remark 
already I think he agrees.


More information about the hotspot-gc-dev mailing list