public class HostedUniverse extends Object implements com.oracle.graal.pointsto.infrastructure.Universe
Modifier and Type | Field and Description |
---|---|
protected Inflation |
bb |
protected Map<jdk.vm.ci.meta.ConstantPool,com.oracle.graal.pointsto.infrastructure.WrappedConstantPool> |
constantPools |
protected Map<com.oracle.graal.pointsto.meta.AnalysisField,HostedField> |
fields |
protected EnumMap<jdk.vm.ci.meta.JavaKind,HostedType> |
kindToType |
protected Map<com.oracle.graal.pointsto.meta.AnalysisMethod,HostedMethod> |
methods |
protected int |
numInterfaceBits
Number of allocated bits for instanceof checks.
|
protected List<HostedField> |
orderedFields |
protected List<HostedMethod> |
orderedMethods |
protected List<HostedType> |
orderedTypes |
protected Map<jdk.vm.ci.meta.Signature,com.oracle.graal.pointsto.infrastructure.WrappedSignature> |
signatures |
protected Map<com.oracle.graal.pointsto.meta.AnalysisType,HostedType> |
types |
Constructor and Description |
---|
HostedUniverse(Inflation bb) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(jdk.vm.ci.meta.JavaType type) |
HostedMethod |
createDeoptTarget(HostedMethod method) |
Inflation |
getBigBang() |
org.graalvm.compiler.core.common.spi.ConstantFieldProvider |
getConstantFieldProvider() |
jdk.vm.ci.meta.ConstantReflectionProvider |
getConstantReflectionProvider() |
Collection<HostedField> |
getFields() |
Collection<HostedMethod> |
getMethods() |
HostedInstanceClass |
getObjectClass() |
org.graalvm.compiler.api.replacements.SnippetReflectionProvider |
getSnippetReflection() |
HostedType |
getType(jdk.vm.ci.meta.JavaKind kind) |
Collection<HostedType> |
getTypes() |
SVMHost |
hostVM() |
com.oracle.graal.pointsto.infrastructure.WrappedConstantPool |
lookup(jdk.vm.ci.meta.ConstantPool constantPool,
com.oracle.graal.pointsto.infrastructure.WrappedJavaType defaultAccessingClass) |
jdk.vm.ci.meta.JavaConstant |
lookup(jdk.vm.ci.meta.JavaConstant constant) |
HostedField |
lookup(jdk.vm.ci.meta.JavaField field) |
HostedMethod |
lookup(jdk.vm.ci.meta.JavaMethod method) |
HostedMethod[] |
lookup(jdk.vm.ci.meta.JavaMethod[] inputs) |
HostedType |
lookup(jdk.vm.ci.meta.JavaType type) |
com.oracle.graal.pointsto.infrastructure.WrappedSignature |
lookup(jdk.vm.ci.meta.Signature signature,
com.oracle.graal.pointsto.infrastructure.WrappedJavaType defaultAccessingClass) |
jdk.vm.ci.meta.JavaField |
lookupAllowUnresolved(jdk.vm.ci.meta.JavaField field) |
jdk.vm.ci.meta.JavaMethod |
lookupAllowUnresolved(jdk.vm.ci.meta.JavaMethod method) |
jdk.vm.ci.meta.JavaType |
lookupAllowUnresolved(jdk.vm.ci.meta.JavaType type) |
HostedType |
objectType() |
HostedField |
optionalLookup(jdk.vm.ci.meta.JavaField field) |
HostedMethod |
optionalLookup(jdk.vm.ci.meta.JavaMethod method) |
HostedType |
optionalLookup(jdk.vm.ci.meta.JavaType type) |
jdk.vm.ci.meta.ResolvedJavaMethod |
resolveSubstitution(jdk.vm.ci.meta.ResolvedJavaMethod method) |
protected final Inflation bb
protected final Map<com.oracle.graal.pointsto.meta.AnalysisType,HostedType> types
protected final Map<com.oracle.graal.pointsto.meta.AnalysisField,HostedField> fields
protected final Map<com.oracle.graal.pointsto.meta.AnalysisMethod,HostedMethod> methods
protected final Map<jdk.vm.ci.meta.Signature,com.oracle.graal.pointsto.infrastructure.WrappedSignature> signatures
protected final Map<jdk.vm.ci.meta.ConstantPool,com.oracle.graal.pointsto.infrastructure.WrappedConstantPool> constantPools
protected EnumMap<jdk.vm.ci.meta.JavaKind,HostedType> kindToType
protected List<HostedType> orderedTypes
protected List<HostedMethod> orderedMethods
protected List<HostedField> orderedFields
protected int numInterfaceBits
public HostedUniverse(Inflation bb)
public HostedType getType(jdk.vm.ci.meta.JavaKind kind)
public HostedInstanceClass getObjectClass()
public HostedMethod createDeoptTarget(HostedMethod method)
public boolean contains(jdk.vm.ci.meta.JavaType type)
public SVMHost hostVM()
hostVM
in interface com.oracle.graal.pointsto.infrastructure.Universe
public org.graalvm.compiler.api.replacements.SnippetReflectionProvider getSnippetReflection()
getSnippetReflection
in interface com.oracle.graal.pointsto.infrastructure.Universe
public HostedType lookup(jdk.vm.ci.meta.JavaType type)
lookup
in interface com.oracle.graal.pointsto.infrastructure.Universe
public jdk.vm.ci.meta.JavaType lookupAllowUnresolved(jdk.vm.ci.meta.JavaType type)
lookupAllowUnresolved
in interface com.oracle.graal.pointsto.infrastructure.Universe
public HostedType optionalLookup(jdk.vm.ci.meta.JavaType type)
public HostedField lookup(jdk.vm.ci.meta.JavaField field)
lookup
in interface com.oracle.graal.pointsto.infrastructure.Universe
public jdk.vm.ci.meta.JavaField lookupAllowUnresolved(jdk.vm.ci.meta.JavaField field)
lookupAllowUnresolved
in interface com.oracle.graal.pointsto.infrastructure.Universe
public HostedField optionalLookup(jdk.vm.ci.meta.JavaField field)
public HostedMethod lookup(jdk.vm.ci.meta.JavaMethod method)
lookup
in interface com.oracle.graal.pointsto.infrastructure.Universe
public jdk.vm.ci.meta.JavaMethod lookupAllowUnresolved(jdk.vm.ci.meta.JavaMethod method)
lookupAllowUnresolved
in interface com.oracle.graal.pointsto.infrastructure.Universe
public HostedMethod optionalLookup(jdk.vm.ci.meta.JavaMethod method)
public HostedMethod[] lookup(jdk.vm.ci.meta.JavaMethod[] inputs)
public com.oracle.graal.pointsto.infrastructure.WrappedSignature lookup(jdk.vm.ci.meta.Signature signature, com.oracle.graal.pointsto.infrastructure.WrappedJavaType defaultAccessingClass)
lookup
in interface com.oracle.graal.pointsto.infrastructure.Universe
public com.oracle.graal.pointsto.infrastructure.WrappedConstantPool lookup(jdk.vm.ci.meta.ConstantPool constantPool, com.oracle.graal.pointsto.infrastructure.WrappedJavaType defaultAccessingClass)
lookup
in interface com.oracle.graal.pointsto.infrastructure.Universe
public jdk.vm.ci.meta.JavaConstant lookup(jdk.vm.ci.meta.JavaConstant constant)
lookup
in interface com.oracle.graal.pointsto.infrastructure.Universe
public Collection<HostedType> getTypes()
public Collection<HostedField> getFields()
public Collection<HostedMethod> getMethods()
public Inflation getBigBang()
public jdk.vm.ci.meta.ConstantReflectionProvider getConstantReflectionProvider()
public org.graalvm.compiler.core.common.spi.ConstantFieldProvider getConstantFieldProvider()
public jdk.vm.ci.meta.ResolvedJavaMethod resolveSubstitution(jdk.vm.ci.meta.ResolvedJavaMethod method)
resolveSubstitution
in interface com.oracle.graal.pointsto.infrastructure.Universe
public HostedType objectType()
objectType
in interface com.oracle.graal.pointsto.infrastructure.Universe