Re:ZGC – What's new in JDK 16
by perliden on Tuesday March 23, 2021 @12:50PM
(#26557154)
ZGC pause times will be the same regardless of heap size. ZGC currently supports heaps from 8MB to 16TB. So if you have 4-32GB heaps and want low latency, then ZGC is definitely something to try.
[ Parent
| on HN ]
Ah, you are the author of article :). Thanks for replying! Does ZGC compromise on throughput compare to G1 to achieve low pause times?
ZGC in its current form trades a bit of throughput performance for better latency. This presentation provides some more details and some performance numbers (a link to the slides is also available there). https://malloc.se/blog/zgc-oracle-developer-live-2020
Hey, is there any benchmark comparing throughput performance of ZGC vs G1 etc. How much hit (performance wise) would one take for getting this awesome pause time limit?
Here is a quite elaborate one, though it is not totally up-to-date:
https://jet-start.sh/blog/2020/06/09/jdk-gc-benchmarks-part1