Shenandoah: How small is small?

org.openjdk at io7m.com org.openjdk at io7m.com
Fri Nov 18 16:45:53 UTC 2016


On 2016-11-17T10:49:44 -0500
Christine Flood <chf at redhat.com> wrote:

> Our original target was for heaps of > 20gb, however we often run our tests in 4gb or less and the performance is acceptable.
> 
> However if you are currently seeing only minor gc pauses and they are in the < 16ms range, I'm not sure Shenandoah can help.  However if you are seeing full gcs of more than that then it might be worth considering.
> 
> Christine

Hm! Right.

At the moment, I'm targeting 1gb heaps more or less out of paranoia.
Given that the average gaming PC tends to sell with +8gb these days,
that's probably worth reconsidering. 

I don't currently have a problem with full GCs, but that is likely
because I find myself writing code in a somewhat unnatural (and not
always entirely pleasant) low-allocation style. If I programmed in a
more ideal style with lots of immutable objects and a high allocation
rate, I would perhaps have full GC problems!

M


More information about the shenandoah-dev mailing list