public class JTTTest extends GraalCompilerTest
These tests are executed twice: once with arguments passed to the execution and once with the arguments bound to the test's parameters during compilation. The latter is a good test of canonicalization.
Modifier and Type | Class and Description |
---|---|
static class |
JTTTest.DummyTestClass |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
(package private) Object[] |
argsToBind
The arguments which, if non-null, will replace the Locals in the test method's graph.
|
(package private) Double |
delta |
protected static Set<DeoptimizationReason> |
EMPTY |
lastCompiledGraph
Constructor and Description |
---|
JTTTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertDeepEquals(Object expected,
Object actual) |
protected InstalledCode |
getCode(ResolvedJavaMethod method,
StructuredGraph graph) |
protected StructuredGraph |
parseEager(ResolvedJavaMethod m,
StructuredGraph.AllowAssumptions allowAssumptions) |
protected void |
runTest(Set<DeoptimizationReason> shouldNotDeopt,
boolean bind,
boolean noProfile,
String name,
Object... args) |
protected void |
runTest(Set<DeoptimizationReason> shouldNotDeopt,
String name,
Object... args) |
protected void |
runTest(String name,
Object... args) |
protected void |
runTestWithDelta(double delta,
String name,
Object... args) |
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, 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, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
protected static final Set<DeoptimizationReason> EMPTY
Object[] argsToBind
public JTTTest()
protected StructuredGraph parseEager(ResolvedJavaMethod m, StructuredGraph.AllowAssumptions allowAssumptions)
parseEager
in class GraalCompilerTest
protected InstalledCode getCode(ResolvedJavaMethod method, StructuredGraph graph)
getCode
in class GraalCompilerTest
protected void assertDeepEquals(Object expected, Object actual)
assertDeepEquals
in class GraalTest
protected void runTestWithDelta(double delta, String name, Object... args)
protected void runTest(Set<DeoptimizationReason> shouldNotDeopt, String name, Object... args)
protected void runTest(Set<DeoptimizationReason> shouldNotDeopt, boolean bind, boolean noProfile, String name, Object... args)