public interface MemoryAgent
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_GC_ROOTS_OBJECTS_LIMIT
Maximal number of objects that will be retrieved by
findReferringObjects call |
Modifier and Type | Method and Description |
---|---|
MemoryAgentCapabilities |
capabilities() |
long |
estimateObjectSize(EvaluationContextImpl evaluationContext,
com.sun.jdi.ObjectReference reference) |
long[] |
estimateObjectsSizes(EvaluationContextImpl evaluationContext,
java.util.List<com.sun.jdi.ObjectReference> references) |
ReferringObjectsInfo |
findReferringObjects(EvaluationContextImpl evaluationContext,
com.sun.jdi.ObjectReference reference,
int limit) |
static MemoryAgent |
get(DebugProcessImpl debugProcess) |
static final int DEFAULT_GC_ROOTS_OBJECTS_LIMIT
findReferringObjects
callstatic MemoryAgent get(DebugProcessImpl debugProcess)
MemoryAgentCapabilities capabilities()
long estimateObjectSize(EvaluationContextImpl evaluationContext, com.sun.jdi.ObjectReference reference) throws EvaluateException
EvaluateException
long[] estimateObjectsSizes(EvaluationContextImpl evaluationContext, java.util.List<com.sun.jdi.ObjectReference> references) throws EvaluateException
EvaluateException
ReferringObjectsInfo findReferringObjects(EvaluationContextImpl evaluationContext, com.sun.jdi.ObjectReference reference, int limit) throws EvaluateException
EvaluateException