public class PartialEscapeAnalysisTest extends EATestBase
Modifier and Type | Class and Description |
---|---|
static class |
PartialEscapeAnalysisTest.CacheKey |
static class |
PartialEscapeAnalysisTest.TestObject |
static class |
PartialEscapeAnalysisTest.TestObject2 |
EATestBase.TestClassInt, EATestBase.TestClassObject
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
static PartialEscapeAnalysisTest.CacheKey |
cacheKey |
static Object |
value |
context, graph, returnNodes
lastCompiledGraph
Constructor and Description |
---|
PartialEscapeAnalysisTest() |
Modifier and Type | Method and Description |
---|---|
private static Object |
createValue(PartialEscapeAnalysisTest.CacheKey key) |
void |
test1() |
static Object |
test1Snippet(int a,
int b,
Object x,
Object y) |
void |
test2() |
static Object |
test2Snippet(int a,
Object x,
Object y,
Object z) |
void |
test3() |
static Object |
test3Snippet(int a) |
void |
testBoxLoop() |
static int |
testBoxLoopSnippet(int n) |
void |
testCache() |
static Object |
testCacheSnippet(int idx,
Object ref) |
void |
testCanonicalize() |
static int |
testCanonicalizeSnippet(int v) |
protected void |
testPartialEscapeAnalysis(String snippet,
double expectedProbability,
int expectedCount,
Class<? extends Node>... invalidNodeClasses) |
void |
testReference1() |
static int |
testReference1Snippet(Object a) |
notInlineable, prepareGraph, testEscapeAnalysis
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 static PartialEscapeAnalysisTest.CacheKey cacheKey
public PartialEscapeAnalysisTest()
public void test1()
public static Object test1Snippet(int a, int b, Object x, Object y)
public void test2()
public static Object test2Snippet(int a, Object x, Object y, Object z)
public void test3()
public static Object test3Snippet(int a)
public void testCache()
private static Object createValue(PartialEscapeAnalysisTest.CacheKey key)
public static Object testCacheSnippet(int idx, Object ref)
public static int testReference1Snippet(Object a)
public void testReference1()
public static int testCanonicalizeSnippet(int v)
public void testCanonicalize()
public static int testBoxLoopSnippet(int n)
public void testBoxLoop()
@SafeVarargs protected final void testPartialEscapeAnalysis(String snippet, double expectedProbability, int expectedCount, Class<? extends Node>... invalidNodeClasses)