public class ExplicitExceptionTest extends GraalCompilerTest
Modifier and Type | Class and Description |
---|---|
private static class |
ExplicitExceptionTest.TestClass |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private int |
expectedForeignCallCount |
lastCompiledGraph
Constructor and Description |
---|
ExplicitExceptionTest() |
Modifier and Type | Method and Description |
---|---|
protected InstalledCode |
getCode(ResolvedJavaMethod method)
Gets installed code for a given method, compiling it first if necessary.
|
void |
testAIOOBE() |
static int |
testAIOOBESnippet(int[] array) |
void |
testNPE() |
void |
testNPEArray() |
static int |
testNPEArraySnippet(int[] array) |
static int |
testNPESnippet(ExplicitExceptionTest.TestClass obj) |
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, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
private int expectedForeignCallCount
public ExplicitExceptionTest()
protected InstalledCode getCode(ResolvedJavaMethod method)
GraalCompilerTest
eagerly
.getCode
in class GraalCompilerTest
public static int testAIOOBESnippet(int[] array)
public void testAIOOBE()
public static int testNPEArraySnippet(int[] array)
public void testNPEArray()
public static int testNPESnippet(ExplicitExceptionTest.TestClass obj)
public void testNPE()