Uncollected garbage

Aleksey Shipilev shade at redhat.com
Mon Dec 20 11:34:25 UTC 2021


On 12/20/21 12:26 PM, Kirill Ilyukhin wrote:
> The heap usage is nearly 100% , with these int[] objects occupying 87%. The JVM process consumes 
> ~100% of CPU, most of which is GC trying to free up some memory. Does this fit into "filler objects" 
> explanation?

Still can, if that's the waste due to misfit arrays. But 87% looks not very plausible for the waste.

Show the part of the GC log where the few (futile?) GC cycles happen, if possible with -verbose:gc 
-XX:+PrintGCDetails?

Also, try to run with:
  a) -XX:+UnlockDiagnosticVMOptions -XX:ShenandoahGCMode=passive
  b) -XX:+UnlockDiagnosticVMOptions -XX:ShenandoahGCMode=passive -XX:-ShenandoahDegeneratedGC

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list