Contents
Class ProcessInfo.MemoryInfo
java.lang.Object
org.springframework.boot.info.ProcessInfo.MemoryInfo
- Enclosing class:
ProcessInfo
Memory information.
- Since:
- 3.4.0
- Author:
- Jonatan Ivanov, Andrey Litvitski
-
Method Details
-
getHeap
-
getNonHeap
-
getGarbageCollectors
Garbage Collector information for the process. This list provides details about the currently used GC algorithms selected by the user or JVM ergonomics. It might not be trivial to know the used GC algorithms since that usually depends on theRuntime.availableProcessors()
(see:ProcessInfo.getCpus()
) and the available memory (see:ProcessInfo.MemoryInfo.MemoryUsageInfo
).- Returns:
List
ofProcessInfo.MemoryInfo.GarbageCollectorInfo
.- Since:
- 3.5.0
-