public class ReplacementsParseTest extends GraalCompilerTest
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ReplacementsParseTest.TestMethods |
(package private) static class |
ReplacementsParseTest.TestMethodsSubstitutions |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private static boolean |
substitutionsInstalled |
private static Object |
THROW_EXCEPTION_MARKER |
lastCompiledGraph
Constructor and Description |
---|
ReplacementsParseTest() |
Modifier and Type | Method and Description |
---|---|
static String |
callLambda(String value) |
static Object |
callStringize(Object obj) |
void |
doNextAfter(double[] outArray,
double[] inArray) |
void |
test1()
Ensure that calling the original method from the substitution binds correctly.
|
double |
test1Snippet(double d) |
void |
test2()
Ensure that calling the substitution method binds to the original method properly.
|
double |
test2Snippet(double d) |
void |
testCallStringize() |
void |
testLambda() |
void |
testNextAfter()
Ensure that substitution methods with assertions in them don't complain when the exception
constructor is deleted.
|
void |
testRootCompileStringize() |
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
private static final Object THROW_EXCEPTION_MARKER
private static boolean substitutionsInstalled
public ReplacementsParseTest()
public void test1()
public double test1Snippet(double d)
public void test2()
public double test2Snippet(double d)
public void testNextAfter()
public void doNextAfter(double[] outArray, double[] inArray)
public void testCallStringize()
public static Object callStringize(Object obj)
public void testRootCompileStringize()
public void testLambda()
public static String callLambda(String value)