Class JvmMemoryPressure.PlatformSource
java.lang.Object
com.kingsrook.qqq.backend.core.health.JvmMemoryPressure.PlatformSource
- All Implemented Interfaces:
JvmMemoryPressure.Source
- Enclosing class:
JvmMemoryPressure
public static class JvmMemoryPressure.PlatformSource
extends Object
implements JvmMemoryPressure.Source
Platform MXBeans: summed after-GC usage of heap pools, and pause time of
collectors that stop the world.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongG1 "Concurrent GC" and ZGC/Shenandoah "Cycles" beans time concurrent work, not pauses, so they are left out.Heap used after the most recent collection, as a percent of the maximum heap; null when the JVM does not report it.
-
Constructor Details
-
PlatformSource
public PlatformSource()
-
-
Method Details
-
heapAfterGcPercent
Description copied from interface:JvmMemoryPressure.SourceHeap used after the most recent collection, as a percent of the maximum heap; null when the JVM does not report it.- Specified by:
heapAfterGcPercentin interfaceJvmMemoryPressure.Source
-
gcPauseMillis
public long gcPauseMillis()G1 "Concurrent GC" and ZGC/Shenandoah "Cycles" beans time concurrent work, not pauses, so they are left out.- Specified by:
gcPauseMillisin interfaceJvmMemoryPressure.Source
-