public class MarkUnsafeAccessTest extends GraalCompilerTest
| Modifier and Type | Class and Description |
|---|---|
private static interface |
MarkUnsafeAccessTest.MappedByteBufferGetter |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.ResultGraalTest.MultiCauseAssertionError| Modifier and Type | Field and Description |
|---|---|
private static int |
BLOCK_COUNT |
private static int |
BLOCK_SIZE |
static sun.misc.Unsafe |
unsafe |
lastCompiledGraph| Constructor and Description |
|---|
MarkUnsafeAccessTest() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertHasUnsafe(String name,
boolean hasUnsafe) |
void |
cas() |
void |
get() |
void |
getRaw() |
void |
noAccess() |
void |
put() |
void |
putRaw() |
void |
testCas() |
void |
testCompiled() |
void |
testGet() |
void |
testMappedByteBuffer(MarkUnsafeAccessTest.MappedByteBufferGetter getter) |
void |
testNoAcces() |
void |
testPut() |
void |
testStandard() |
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, testNassertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDeltapublic static sun.misc.Unsafe unsafe
private static final int BLOCK_SIZE
private static final int BLOCK_COUNT
public MarkUnsafeAccessTest()
public void getRaw()
public void get()
public void putRaw()
public void put()
public void cas()
public void noAccess()
private void assertHasUnsafe(String name, boolean hasUnsafe)
public void testGet()
public void testPut()
public void testCas()
public void testNoAcces()
public void testStandard() throws IOException
IOExceptionpublic void testCompiled() throws IOException
IOExceptionpublic void testMappedByteBuffer(MarkUnsafeAccessTest.MappedByteBufferGetter getter) throws IOException
IOException