public class UnsafeEATest extends EATestBase
EATestBase.TestClassInt, EATestBase.TestClassObject
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
static double |
doubleField |
static double |
doubleField2 |
private static long |
fieldOffset1 |
private static long |
fieldOffset2 |
static long |
longField |
static long |
longField2 |
private static sun.misc.Unsafe |
unsafe |
static int |
zero |
context, graph, returnNodes
lastCompiledGraph
Constructor and Description |
---|
UnsafeEATest() |
Modifier and Type | Method and Description |
---|---|
void |
testDeoptDoubleConstant() |
static EATestBase.TestClassInt |
testDeoptDoubleConstantSnippet() |
void |
testDeoptDoubleVar() |
static EATestBase.TestClassInt |
testDeoptDoubleVarSnippet() |
void |
testDeoptLongConstant() |
static EATestBase.TestClassInt |
testDeoptLongConstantSnippet() |
void |
testDeoptLongVar() |
static EATestBase.TestClassInt |
testDeoptLongVarSnippet() |
void |
testMaterializedDouble() |
static EATestBase.TestClassInt |
testMaterializedDoubleSnippet() |
void |
testMaterializedInt() |
static EATestBase.TestClassInt |
testMaterializedIntSnippet() |
void |
testMergedDouble() |
static double |
testMergedDoubleSnippet(boolean a) |
void |
testSimpleDouble() |
static double |
testSimpleDoubleSnippet() |
void |
testSimpleInt() |
static int |
testSimpleIntSnippet() |
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 int zero
private static final sun.misc.Unsafe unsafe
private static final long fieldOffset1
private static final long fieldOffset2
public static double doubleField
public static double doubleField2
public static long longField
public static long longField2
public UnsafeEATest()
public void testSimpleInt()
public static int testSimpleIntSnippet()
public void testMaterializedInt()
public static EATestBase.TestClassInt testMaterializedIntSnippet()
public void testSimpleDouble()
public static double testSimpleDoubleSnippet()
public void testMergedDouble()
public static double testMergedDoubleSnippet(boolean a)
public void testMaterializedDouble()
public static EATestBase.TestClassInt testMaterializedDoubleSnippet()
public void testDeoptDoubleVar()
public static EATestBase.TestClassInt testDeoptDoubleVarSnippet()
public void testDeoptDoubleConstant()
public static EATestBase.TestClassInt testDeoptDoubleConstantSnippet()
public void testDeoptLongVar()
public static EATestBase.TestClassInt testDeoptLongVarSnippet()
public void testDeoptLongConstant()
public static EATestBase.TestClassInt testDeoptLongConstantSnippet()