public class HotSpotResolvedJavaFieldTest extends HotSpotGraalCompilerTest
HotSpotResolvedJavaField functionality.GraalCompilerTest.ArgSupplier, GraalCompilerTest.ResultGraalTest.MultiCauseAssertionError| Modifier and Type | Field and Description |
|---|---|
private static Class<?>[] |
classesWithInternalFields |
lastCompiledGraph| Constructor and Description |
|---|
HotSpotResolvedJavaFieldTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCachingForInternalFields()
Tests that
HotSpotResolvedObjectTypeImpl.createField(String, JavaType, long, int)
always returns the same object for an internal field. |
void |
testIsInObject() |
void |
testModifiersForInternal()
Tests that
ResolvedJavaField.getModifiers() only includes the modifiers
returned by Field.getModifiers(). |
runtimeaddMethod, 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, ulpsDeltaprivate static final Class<?>[] classesWithInternalFields
public HotSpotResolvedJavaFieldTest()
public void testModifiersForInternal()
ResolvedJavaField.getModifiers() only includes the modifiers
returned by Field.getModifiers(). Namely, it must not include
HotSpotResolvedJavaField#FIELD_INTERNAL_FLAG.public void testCachingForInternalFields()
HotSpotResolvedObjectTypeImpl.createField(String, JavaType, long, int)
always returns the same object for an internal field.public void testIsInObject()