public class NewInstanceTest extends GraalCompilerTest
NEW
.Modifier and Type | Class and Description |
---|---|
(package private) static class |
NewInstanceTest.B |
(package private) static class |
NewInstanceTest.BigObject |
(package private) static class |
NewInstanceTest.SomeObject |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
NewInstanceTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertDeepEquals(Object expected,
Object actual)
Compares two given objects for equality.
|
static NewInstanceTest.BigObject |
newBigObject() |
static String |
newEmptyString() |
static HashMap<?,?> |
newHashMap(int initialCapacity) |
static Object |
newObject() |
static Object[] |
newObjectLoop(int n) |
static Object[] |
newObjectTwice() |
static Object |
newRegression(boolean condition)
Tests that an earlier bug does not occur.
|
static NewInstanceTest.SomeObject |
newSomeObject() |
static String |
newString(String value) |
void |
test1() |
void |
test2() |
void |
test3() |
void |
test4() |
void |
test5() |
void |
test6() |
void |
test7() |
void |
test8() |
void |
test9() |
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, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
public NewInstanceTest()
protected void assertDeepEquals(Object expected, Object actual)
GraalTest
expected
is an array.assertDeepEquals
in class GraalTest
public void test1()
public void test2()
public void test3()
public void test4()
public void test5()
public void test6()
public void test7()
public void test8()
public void test9()
public static Object[] newObjectTwice()
public static Object[] newObjectLoop(int n)
public static NewInstanceTest.BigObject newBigObject()
public static NewInstanceTest.SomeObject newSomeObject()
public static String newEmptyString()
public static HashMap<?,?> newHashMap(int initialCapacity)
public static Object newRegression(boolean condition)