public class

MemoryPools

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

Class Overview

Gathers data about the JVM memory pools

Summary

Public Constructors
MemoryPools()
Public Methods
static List<MemoryPool> getMemoryPools()
static String inMiB(long bytes)
static String memoryPoolsDump(boolean detailByPool)
Gathers all the MemoryPool data in a String to be dumped to log file or similar.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MemoryPools ()

Public Methods

public static List<MemoryPool> getMemoryPools ()

public static String inMiB (long bytes)

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