public class MonitorTest extends GraalCompilerTest
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MonitorTest.Chars |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
MonitorTest() |
Modifier and Type | Method and Description |
---|---|
static String |
copyArr(char[] src,
char[] dst,
int n) |
static String |
copyObj(MonitorTest.Chars src,
MonitorTest.Chars dst,
int n) |
static String |
lockLocalObject(String value,
String[] box) |
static String |
lockObject(Object o,
String value,
String[] box) |
static Object |
lockObjectSimple(Object o,
Object value) |
String |
lockThis(String value,
String[] box) |
String |
lockThisSimple(String value,
Object o) |
private static String |
setAndGet(String[] box,
String value) |
void |
test0() |
void |
test01() |
void |
test02() |
void |
test101() |
void |
test102() |
void |
test2() |
void |
test3()
Tests monitor operations on
virtual objects . |
void |
test4()
Tests recursive locking of objects which should be biasable.
|
void |
test5()
Tests recursive locking of objects which do not appear to be biasable.
|
void |
test6()
Extends
test4() with contention. |
void |
test7()
Extends
test5() with contention. |
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 MonitorTest()
public void test0()
public void test01()
public void test02()
public void test101()
public void test102()
public void test2()
public void test3()
virtual objects
.public void test4()
public void test5()
public static Object lockObjectSimple(Object o, Object value)
public String lockThisSimple(String value, Object o)
public static String lockObject(Object o, String value, String[] box)
public static String lockLocalObject(String value, String[] box)
public static String copyObj(MonitorTest.Chars src, MonitorTest.Chars dst, int n)