Question about ShenandoahAllocationThreshold

Aleksey Shipilev shade at redhat.com
Tue Jan 21 09:03:28 UTC 2020


On 1/20/20 3:09 PM, Justinas Dabravolskas wrote:
> Hi, wiki  mentions ShenandoahAllocationThreshold as part of static and compact heuristics tuning.
> Both heuristics override default value(compact to 10, static to 1) but if I interpret things
> correctly ShenandoahAllocationThreshold applies just for compact heuristics in the end? Was it
> decided that static heuristic doesn't need to break continuous collection loop or it was
> implemented in some other place?

Right. It was at some point decided that ShenandoahFreeThreshold is the hard limit after which GC
starts anyway. The adjustment in "static" heuristics is redundant, I'll RFR the removal. I also
dropped the mention from wiki.

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list