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()
HeapVerifiergetCause in interface HeapVerifierpublic void setCause(String causeArg)
HeapVerifiersetCause in interface HeapVerifierpublic boolean verifyObjectAt(org.graalvm.word.Pointer ptr)
verifyObjectAt in interface HeapVerifierpublic boolean verify(String message)
HeapVerifierverify in interface HeapVerifierpublic Log getTraceLog()
HeapVerifiergetTraceLog in interface HeapVerifierpublic Log getWitnessLog()
HeapVerifiergetWitnessLog in interface HeapVerifierpublic static int classifyObject(Object o)