Trying to understand ZGC

Thomas Schatzl thomas.schatzl at
Wed Nov 28 19:35:20 UTC 2018

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
You can also tell it to regularly issue a concurrent cycle to do that.

See for the latter


More information about the zgc-dev mailing list