Package com.atlassian.jira.util
Class MemoryPools
java.lang.Object
com.atlassian.jira.util.MemoryPools
Gathers data about the JVM memory pools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<MemoryPool> static StringinMiB(long bytes) static StringmemoryPoolsDump(boolean detailByPool) Gathers all the MemoryPool data in a String to be dumped to log file or similar.
-
Constructor Details
-
MemoryPools
public MemoryPools()
-
-
Method Details
-
getMemoryPools
-
memoryPoolsDump
Gathers all the MemoryPool data in a String to be dumped to log file or similar.- Parameters:
detailByPool- if true, we list each pool individually, else we summarise by type - that is Heap vs non-heap- Returns:
- dump of memory
-
inMiB
-