public class ConcreteSubtypeTest extends GraalCompilerAssumptionsTest
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ConcreteSubtypeTest.AbstractBase |
(package private) static class |
ConcreteSubtypeTest.Subclass |
(package private) static class |
ConcreteSubtypeTest.SubSubclass |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
ConcreteSubtypeTest() |
Modifier and Type | Method and Description |
---|---|
void |
callAbstractType(ConcreteSubtypeTest.AbstractBase object) |
protected void |
checkGraph(Assumptions.Assumption expectedAssumption,
StructuredGraph graph) |
void |
testLeafAbstractType()
Test that
callAbstractType(com.oracle.graal.compiler.test.ConcreteSubtypeTest.AbstractBase) gets compiled into an empty method with a
Assumptions.ConcreteSubtype assumption on ConcreteSubtypeTest.AbstractBase and ConcreteSubtypeTest.Subclass . |
resolveAndInitialize, testAssumption, testAssumptionInvalidate
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, editGraphBuilderConfiguration, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, getCode, getCode, getCode, getCodeCache, getConstantReflection, getCustomGraphBuilderSuite, getDefaultGraphBuilderPlugins, getDefaultGraphBuilderSuite, getDefaultHighTierContext, getLIRSuites, getLowerer, getMetaAccess, getNodeCountExcludingUnusedConstants, getProviders, getReplacements, getResolvedJavaMethod, getResolvedJavaMethod, getResolvedJavaMethod, getSnippetReflection, getSpeculationLog, getSuites, getTarget, initializeDebugging, invoke, isArchitecture, iterationCount, lookupMethod, parseDebug, parseEager, parseEager, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
public ConcreteSubtypeTest()
public void callAbstractType(ConcreteSubtypeTest.AbstractBase object)
protected void checkGraph(Assumptions.Assumption expectedAssumption, StructuredGraph graph)
checkGraph
in class GraalCompilerAssumptionsTest
public void testLeafAbstractType()
callAbstractType(com.oracle.graal.compiler.test.ConcreteSubtypeTest.AbstractBase)
gets compiled into an empty method with a
Assumptions.ConcreteSubtype
assumption on ConcreteSubtypeTest.AbstractBase
and ConcreteSubtypeTest.Subclass
. Then ensures
that loading and initialization of ConcreteSubtypeTest.SubSubclass
causes the compiled method to be
invalidated.