public class NewMultiArrayTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
(package private) ResolvedJavaType |
arrayType |
(package private) Class<?> |
bottomClass |
(package private) ResolvedJavaType |
bottomType |
(package private) int[] |
dimensions |
lastCompiledGraph
Constructor and Description |
---|
NewMultiArrayTest() |
Modifier and Type | Method and Description |
---|---|
protected InstalledCode |
getCode(ResolvedJavaMethod method,
StructuredGraph g)
Gets installed code for a given method, compiling it first if necessary.
|
static Object |
newMultiArray() |
static Object |
newMultiArrayException() |
private static int |
rank(ResolvedJavaType type) |
protected Object |
referenceInvoke(ResolvedJavaMethod method,
Object receiver,
Object... args) |
void |
test1() |
void |
test2() |
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, 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, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
ResolvedJavaType arrayType
ResolvedJavaType bottomType
Class<?> bottomClass
int[] dimensions
public NewMultiArrayTest()
private static int rank(ResolvedJavaType type)
protected InstalledCode getCode(ResolvedJavaMethod method, StructuredGraph g)
GraalCompilerTest
getCode
in class GraalCompilerTest
method
- the method the compiled code will be associated with when installedg
- the graph to be compiled. If null, a graph will be obtained from
installedCodeOwner
via GraalCompilerTest.parseForCompile(ResolvedJavaMethod)
.protected Object referenceInvoke(ResolvedJavaMethod method, Object receiver, Object... args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
referenceInvoke
in class GraalCompilerTest
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public void test1()
public static Object newMultiArray()
public void test2()
public static Object newMultiArrayException()