Trying to understand ZGC
stefan.reich.maker.of.eye at googlemail.com
Wed Nov 28 19:59:01 UTC 2018
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 oracle.com>
> Hi Stefan,
> ----- Original Message -----
> From: stefan.reich.maker.of.eye at googlemail.com
> > 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
> You can also tell it to regularly issue a concurrent cycle to do that.
> See https://bugs.openjdk.java.net/browse/JDK-8204089 for the latter
More information about the zgc-dev