question about Last ditch collection

Thomas Schatzl thomas.schatzl at oracle.com
Tue Aug 13 15:50:29 UTC 2019


Hi,

On 12.08.19 12:26, Yan Gang wrote:
> Hi all:
> 
> Question about Last ditch collection.
> I used JDK 8 , find out info about Last ditch collection from gc log.
> 
> Cause               CountAvg Time         Max Time          Total Time  
>        Time %
> Last ditch collection 8420 min 46 sec 593 ms1 hr 6 min 17 sec29 hrs 5 
> min 13 sec49.27%
> Metadata GC Threshold 10216 min 58 sec 215 ms59 min 70 ms        28 hrs 
> 50 min 57 sec48.86%
> 
> Have question:
> 
> How to get root cause? Metaspace fragment ?

The log should contain information about whether the last ditch 
collections collections are caused by a full java heap (i.e. heap memory 
usage) or not.

I think the "Metadata GC threshold" collections also contain metadata 
usage information.

Thanks,
   Thomas


More information about the hotspot-gc-use mailing list