MetaAccessProvider
.
Modifier and Type | Field and Description |
---|---|
protected final HotSpotJVMCIRuntime |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public int | Returns: the size of the memory chunkthe number of elements in the array length, int the size of the array header headerSize, int log2 of the size of an element in the array log2ElementSize)Computes the size of the memory chunk allocated for an array. |
public int | |
public DeoptimizationAction | |
public int | |
public DeoptimizationReason | |
public int | |
public DeoptimizationAction | decodeDeoptAction(JavaConstant constant)
Implements jdk.
|
public DeoptimizationReason | decodeDeoptReason(JavaConstant constant)
Implements jdk.
|
public SpeculationLog. | decodeSpeculation(JavaConstant constant, SpeculationLog speculationLog)
Implements jdk. Decodes |
public JavaConstant | encodeDeoptActionAndReason(DeoptimizationAction action, DeoptimizationReason reason, int
an integer that can be used to track the origin of a deoptimization at
runtime. There is no guarantee that the runtime will use this value. The runtime
may even keep fewer than 32 bits. debugId)Implements jdk. Encodes a deoptimization action and a deoptimization reason in an integer value. |
public JavaConstant | encodeSpeculation(SpeculationLog.
Implements jdk. Gets a constant that denotes |
public int | |
public int | |
public long | getMemorySize(JavaConstant
the constant whose bytes should be measured constant)Implements jdk. Returns the number of bytes occupied by this constant value or constant object. |
private static int | |
public ResolvedJavaField | lookupJavaField(Field reflectionField)
Implements jdk. Provides the |
public ResolvedJavaMethod | lookupJavaMethod(Executable reflectionMethod)
Implements jdk. Provides the |
public ResolvedJavaType | lookupJavaType(Class<?>
the Java class object clazz)Implements jdk. Returns the resolved Java type representing a given Java class. |
public HotSpotResolvedObjectType | lookupJavaType(JavaConstant constant)
Implements jdk. Returns the resolved Java type of the given |
public Signature | parseMethodDescriptor(String signature)
Implements jdk. |
runtime | back to summary |
---|---|
protected final HotSpotJVMCIRuntime runtime |
HotSpotMetaAccessProvider | back to summary |
---|---|
public HotSpotMetaAccessProvider(HotSpotJVMCIRuntime runtime) |
computeArrayAllocationSize | back to summary |
---|---|
public int computeArrayAllocationSize(int length, int headerSize, int log2ElementSize) Computes the size of the memory chunk allocated for an array. This size accounts for the array header size, body size and any padding after the last element to satisfy object alignment requirements.
|
convertDeoptAction | back to summary |
---|---|
public int convertDeoptAction(DeoptimizationAction action) |
convertDeoptAction | back to summary |
---|---|
public DeoptimizationAction convertDeoptAction(int action) |
convertDeoptReason | back to summary |
---|---|
public int convertDeoptReason(DeoptimizationReason reason) |
convertDeoptReason | back to summary |
---|---|
public DeoptimizationReason convertDeoptReason(int reason) |
decodeDebugId | back to summary |
---|---|
public int decodeDebugId(JavaConstant constant) Implements jdk.
|
decodeDeoptAction | back to summary |
---|---|
public DeoptimizationAction decodeDeoptAction(JavaConstant constant) Implements jdk.
|
decodeDeoptReason | back to summary |
---|---|
public DeoptimizationReason decodeDeoptReason(JavaConstant constant) Implements jdk.
|
decodeSpeculation | back to summary |
---|---|
public SpeculationLog. Implements jdk. Doc from jdk. Decodes
|
encodeDeoptActionAndReason | back to summary |
---|---|
public JavaConstant encodeDeoptActionAndReason(DeoptimizationAction action, DeoptimizationReason reason, int debugId) Implements jdk. Doc from jdk. Encodes a deoptimization action and a deoptimization reason in an integer value.
|
encodeSpeculation | back to summary |
---|---|
public JavaConstant encodeSpeculation(SpeculationLog. Implements jdk. Doc from jdk. Gets a constant that denotes
|
getArrayBaseOffset | back to summary |
---|---|
public int getArrayBaseOffset(JavaKind kind) Implements jdk.
|
getArrayIndexScale | back to summary |
---|---|
public int getArrayIndexScale(JavaKind kind) Implements jdk.
|
getMemorySize | back to summary |
---|---|
public long getMemorySize(JavaConstant constant) Implements jdk. Doc from jdk. Returns the number of bytes occupied by this constant value or constant object.
|
intMaskRight | back to summary |
---|---|
private static int intMaskRight(int n) |
lookupJavaField | back to summary |
---|---|
public ResolvedJavaField lookupJavaField(Field reflectionField) Implements jdk. Doc from jdk. Provides the
|
lookupJavaMethod | back to summary |
---|---|
public ResolvedJavaMethod lookupJavaMethod(Executable reflectionMethod) Implements jdk. Doc from jdk. Provides the
|
lookupJavaType | back to summary |
---|---|
public ResolvedJavaType lookupJavaType(Class<?> clazz) Implements jdk. Doc from jdk. Returns the resolved Java type representing a given Java class.
|
lookupJavaType | back to summary |
---|---|
public HotSpotResolvedObjectType lookupJavaType(JavaConstant constant) Implements jdk. Doc from jdk. Returns the resolved Java type of the given
|
parseMethodDescriptor | back to summary |
---|---|
public Signature parseMethodDescriptor(String signature) Implements jdk. Doc from jdk. Parses a method descriptor (4.3.3) into a
|