com.atlassian.jira.util
Class MemoryPools
java.lang.Object
com.atlassian.jira.util.MemoryPools
public class MemoryPools
- extends Object
Gathers data about the JVM memory pools
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryPools
public MemoryPools()
getMemoryPools
public static List<MemoryPool> getMemoryPools()
memoryPoolsDump
public static String memoryPoolsDump(boolean detailByPool)
- 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
public static String inMiB(long bytes)
Copyright © 2002-2014 Atlassian. All Rights Reserved.