Degenerated GC pauses for 5-10 seconds

Alexander Yakushev alex at bytopia.org
Fri Jan 18 17:02:32 UTC 2019


On Fri, 18 Jan 2019 at 14:06, Aleksey Shipilev <shade at redhat.com> wrote:

> Yes, right. Still weird. Are you running in container? Or maybe you have
> CPU quotas that prohibit
> threads to run?
>

Right, sorry, I forgot to mention it's running in Docker. No quotas or
limitations, though.


> Look around ShenandoahAllocationTrace and
> ShenandoahAllocationTraceThreshold. It would print
> warnings to GC log if stalls are detected. You can also employ a nuclear
> option: set
> ShenandoahPacingDelay=${HUGE_VAL}, for example 30000. Then you should
> never Degen/Full GC, and
> instead block the allocating thread waiting for GC to complete.
>

I couldn't find any info on ShenandoahAllocationTraceThreshold. What should
it be set to?

Best regards,
Alex Yakushev


More information about the shenandoah-dev mailing list