I'm right now just trying to get over how amazing this graph is:
https://tschatzl.github.io/2022/03/14/jdk18-g1-parallel-gc-changes.html
35-40% savings in memory use just by using JDK 18??? Who would have
expected such a major improvement after 17 iterations of the language!
Just so I'm sure I'm
Hi Stefan,
The graph Thomas shows in his blog is the GC part of the NMT output
which does not include metadata.
The GC part of NMT output includes native memory allocated on behalf of
the GC itself such as a card table or remembered set .. those things
that GC needs to do its work. The nativ
Ah, so the memory sections that are now smaller are basically the GC's
internal data structures, rather than the general heap?
That kind of puts things in perspective. Still a great improvement. Has it
been tested by how much the overall memory footprint of the JVM decreases
in larger benchmarks?
Yes, GC's internal data structures.
How much reduction there will likely vary depending on the application
(and G1 region size). The type of application that will experience
larger reductions are those applications that have a large number of
cross G1 region references. A cache like type of ap