public class HeapVerifierImpl extends Object implements HeapVerifier
Modifier and Type | Class and Description |
---|---|
static class |
HeapVerifierImpl.ChunkLimit |
protected static class |
HeapVerifierImpl.VerifyVMOperation
A VMOperation that verifies the heap.
|
HeapVerifier.HeapVerificationError, HeapVerifier.MemoryChecker, HeapVerifier.Occasion
Modifier | Constructor and Description |
---|---|
protected |
HeapVerifierImpl() |
Modifier and Type | Method and Description |
---|---|
static int |
classifyObject(Object o) |
static HeapVerifierImpl |
factory()
A factory for a Heap Verifier.
|
String |
getCause()
What caused this verification?
|
Log |
getTraceLog()
A log for tracing verification.
|
Log |
getWitnessLog()
A log for witnessing failures.
|
void |
setCause(String causeArg)
What caused this verification?
|
boolean |
verify(String message)
Verify the heap without an occasion.
|
boolean |
verifyObjectAt(org.graalvm.word.Pointer ptr)
Whatever it takes to verify an Object.
|
public static HeapVerifierImpl factory()
public String getCause()
HeapVerifier
getCause
in interface HeapVerifier
public void setCause(String causeArg)
HeapVerifier
setCause
in interface HeapVerifier
public boolean verifyObjectAt(org.graalvm.word.Pointer ptr)
verifyObjectAt
in interface HeapVerifier
public boolean verify(String message)
HeapVerifier
verify
in interface HeapVerifier
public Log getTraceLog()
HeapVerifier
getTraceLog
in interface HeapVerifier
public Log getWitnessLog()
HeapVerifier
getWitnessLog
in interface HeapVerifier
public static int classifyObject(Object o)