public class HotSpotMethodSubstitutionTest extends MethodSubstitutionTest
MethodSubstitution
s.Modifier and Type | Class and Description |
---|---|
private static class |
HotSpotMethodSubstitutionTest.TestClassA |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
HotSpotMethodSubstitutionTest() |
Modifier and Type | Method and Description |
---|---|
static boolean |
currentThread(Thread other) |
static Class<?> |
getClass0(Object obj) |
static Class<?> |
getComponentType(Class<?> clazz) |
static int |
getModifiers(Class<?> clazz) |
static Class<?> |
getSuperClass(Class<?> clazz) |
static boolean |
isArray(Class<?> clazz) |
static boolean |
isInterface(Class<?> clazz) |
static boolean |
isPrimitive(Class<?> clazz) |
static int |
objectHashCode(HotSpotMethodSubstitutionTest.TestClassA obj) |
static int |
systemIdentityHashCode(Object obj) |
static long |
systemTime() |
void |
testCallSiteGetTarget()
Tests ambiguous receiver of CallSite.getTarget.
|
static String |
testCallSiteGetTargetSnippet(int i) |
void |
testCast()
Tests ambiguous receiver of Class.cast.
|
static String |
testCastSnippet(int i,
Object obj) |
void |
testClassSubstitutions() |
void |
testGetClass()
Tests ambiguous receiver of Object.getClass.
|
static String |
testGetClassSnippet(int i) |
void |
testObjectSubstitutions() |
void |
testSystemSubstitutions() |
void |
testThreadSubstitutions() |
static boolean |
threadInterrupted() |
static boolean |
threadIsInterrupted(Thread thread) |
assertInGraph, assertNotInGraph, executeVarargsSafe, invokeSafe, testGraph, testSubstitution
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 HotSpotMethodSubstitutionTest()
public void testObjectSubstitutions()
public static int objectHashCode(HotSpotMethodSubstitutionTest.TestClassA obj)
public void testClassSubstitutions()
public static int getModifiers(Class<?> clazz)
public static boolean isInterface(Class<?> clazz)
public static boolean isPrimitive(Class<?> clazz)
public static Class<?> getSuperClass(Class<?> clazz)
public static Class<?> getComponentType(Class<?> clazz)
public void testThreadSubstitutions()
public static boolean currentThread(Thread other)
public static boolean threadIsInterrupted(Thread thread)
public static boolean threadInterrupted()
public void testSystemSubstitutions()
public static long systemTime()
public static int systemIdentityHashCode(Object obj)
public static String testCallSiteGetTargetSnippet(int i) throws Exception
Exception
public static String testCastSnippet(int i, Object obj) throws Exception
Exception
public static String testGetClassSnippet(int i)
public void testCallSiteGetTarget()
public void testCast()
public void testGetClass()