Class MemoryPools

java.lang.Object
com.atlassian.jira.util.MemoryPools

public class MemoryPools extends Object
Gathers data about the JVM memory pools
  • Constructor Details

    • MemoryPools

      public MemoryPools()
  • Method Details

    • 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)