public abstract class VerifyPhase<C> extends BasePhase<C>
Modifier and Type | Class and Description |
---|---|
static class |
VerifyPhase.VerificationError
Thrown when verification performed by a
VerifyPhase fails. |
BasePhase.BasePhaseStatistics, BasePhase.PhaseOptions
Constructor and Description |
---|
VerifyPhase() |
Modifier and Type | Method and Description |
---|---|
protected void |
run(StructuredGraph graph,
C context) |
protected abstract void |
verify(StructuredGraph graph,
C context)
Checks
graph against some invariants. |
void |
verifyClass(Class<?> clazz,
jdk.vm.ci.meta.MetaAccessProvider metaAccess)
Checks
clazz against some invariants. |
apply, apply, codeSizeIncrease, contractorName, getName, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkContract
protected final void run(StructuredGraph graph, C context)
protected abstract void verify(StructuredGraph graph, C context)
graph
against some invariants.VerifyPhase.VerificationError
- if the verification failspublic void verifyClass(Class<?> clazz, jdk.vm.ci.meta.MetaAccessProvider metaAccess)
clazz
against some invariants.clazz
- the class to verifymetaAccess
- an object to get a ResolvedJavaType
for clazz
VerifyPhase.VerificationError
- if the class violates some invariant