Trying to understand ZGC

Stefan Reich stefan.reich.maker.of.eye at
Wed Nov 28 19:59:01 UTC 2018

Hi Thomas,

thanks, good to know. That's quite a few months away though...

The one application for which my System.gc() approach really isn't so good
is JavaAudio (both playback and record). I'm currently using ~200ms
buffers, so all good regularly, but a full GC is likely to cause a short

Many greetings to Austria (or wait, you're overseas now, right? :)

On Wed, 28 Nov 2018 at 20:35, Thomas Schatzl <thomas.schatzl at>

> Hi Stefan,
> ----- Original Message -----
> From: stefan.reich.maker.of.eye at
> >
> > For now I think I'll stick to G1 as it has tolerable pauses (<50ms,
> > roughly, unless I call System.gc()). I do have to call System.gc()
> > sometimes in order to return memory to the OS.
> Fyi with JDK12 G1 will give back memory in regular concurrent marking
> cycles.
> You can also tell it to regularly issue a concurrent cycle to do that.
> See for the latter
> feature.
> Thanks,
>   Thomas

More information about the zgc-dev mailing list