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.ResultGraalTest.MultiCauseAssertionErrorlastCompiledGraph| 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, testAssumptionInvalidateaddMethod, 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, testNassertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDeltapublic ConcreteSubtypeTest()
public void callAbstractType(ConcreteSubtypeTest.AbstractBase object)
protected void checkGraph(Assumptions.Assumption expectedAssumption, StructuredGraph graph)
checkGraph in class GraalCompilerAssumptionsTestpublic 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.