public class DerivedOopTest extends GraalCompilerTest implements Snippets
Modifier and Type | Class and Description |
---|---|
private static class |
DerivedOopTest.Pointers |
private static class |
DerivedOopTest.Result |
GraalCompilerTest.ArgSupplier
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
DerivedOopTest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkHighTierGraph(StructuredGraph graph)
Can be overridden by unit tests to verify properties of the graph.
|
static DerivedOopTest.Result |
fieldOffsetSnippet(DerivedOopTest.Result obj,
long offset) |
protected GraphBuilderConfiguration.Plugins |
getDefaultGraphBuilderPlugins() |
(package private) static long |
getRawPointer(Object obj) |
(package private) static long |
getRawPointerIntrinsic(Object obj) |
void |
testFieldOffset() |
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, editGraphBuilderConfiguration, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, getCode, getCode, getCode, getCodeCache, getConstantReflection, getCustomGraphBuilderSuite, 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 DerivedOopTest()
public void testFieldOffset()
static long getRawPointer(Object obj)
static long getRawPointerIntrinsic(Object obj)
public static DerivedOopTest.Result fieldOffsetSnippet(DerivedOopTest.Result obj, long offset)
protected GraphBuilderConfiguration.Plugins getDefaultGraphBuilderPlugins()
getDefaultGraphBuilderPlugins
in class GraalCompilerTest
protected boolean checkHighTierGraph(StructuredGraph graph)
GraalCompilerTest
checkHighTierGraph
in class GraalCompilerTest
graph
- the graph at the end of HighTier