On 9/3/2021 10:08 AM, Shawn Heisey wrote:
If my install ever gets around to doing GC (its heap is a lot bigger
than it really needs to be) then I might know whether Shenandoah is
beneficial.
Followup:
Something interesting... it seems that Shenadoah will do a collection
every five minutes even if activity is so small that GC wouldn't
normally be necessary.
After 15 minutes of runtime, I let gceasy tackle my tiny little log:
https://www.dropbox.com/s/0ivey9lrnrzpim1/gceasy-shenandoah.png?dl=0
As you can see, the current heap size is very small. The GC pauses are
also very small. This Solr install is for my mail server, specifically
for dovecot.
I also came across another collector called ZGC that is available in
Java 11. I know even less about that one than I did about Shenandoah.
An interesting read:
https://blogs.oracle.com/javamagazine/understanding-the-jdks-new-superfast-garbage-collectors
There is a commercial JVM available that promises near zero pauses even
on terabyte size heaps. I have no idea how much it costs. I bet it's
very pricy:
https://www.azul.com/products/prime/
Thanks,
Shawn