public class EATestBase extends GraalCompilerTest
| Modifier and Type | Class and Description |
|---|---|
static class |
EATestBase.TestClassInt |
static class |
EATestBase.TestClassObject |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.ResultGraalTest.MultiCauseAssertionError| Modifier and Type | Field and Description |
|---|---|
protected HighTierContext |
context |
protected StructuredGraph |
graph |
protected List<ReturnNode> |
returnNodes |
lastCompiledGraph| Constructor and Description |
|---|
EATestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
notInlineable() |
protected void |
prepareGraph(String snippet,
boolean iterativeEscapeAnalysis) |
protected void |
testEscapeAnalysis(String snippet,
JavaConstant expectedConstantResult,
boolean iterativeEscapeAnalysis)
Runs Escape Analysis on the given snippet and makes sure that no allocations remain in the
graph.
|
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, testNassertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDeltaprotected StructuredGraph graph
protected HighTierContext context
protected List<ReturnNode> returnNodes
public EATestBase()
protected static void notInlineable()
protected void testEscapeAnalysis(String snippet, JavaConstant expectedConstantResult, boolean iterativeEscapeAnalysis)
snippet - the name of the method whose graph should be processedexpectedConstantResult - if this is non-null, the resulting graph needs to have the
given constant return valueiterativeEscapeAnalysis - true if escape analysis should be run for more than one
iterationprotected void prepareGraph(String snippet, boolean iterativeEscapeAnalysis)