public final class HotSpotMetaspaceConstantImpl extends PrimitiveConstant implements HotSpotMetaspaceConstant, VMConstant, HotSpotProxified
Value.IllegalValue
Modifier and Type | Field and Description |
---|---|
private boolean |
compressed |
private Object |
metaspaceObject |
ILLEGAL
DOUBLE_0, DOUBLE_1, FALSE, FLOAT_0, FLOAT_1, INT_0, INT_1, INT_2, INT_MINUS_1, LONG_0, LONG_1, NULL_POINTER, TRUE
Modifier | Constructor and Description |
---|---|
private |
HotSpotMetaspaceConstantImpl(Kind kind,
long primitive,
Object metaspaceObject,
boolean compressed) |
Modifier and Type | Method and Description |
---|---|
HotSpotResolvedObjectType |
asResolvedJavaType() |
JavaConstant |
compress(HotSpotVMConfig.CompressEncoding encoding) |
boolean |
equals(Object o) |
(package private) static HotSpotMetaspaceConstantImpl |
forMetaspaceObject(Kind kind,
long primitive,
Object metaspaceObject,
boolean compressed) |
(package private) static Object |
getMetaspaceObject(Constant constant) |
int |
hashCode() |
boolean |
isCompressed() |
long |
rawValue() |
String |
toString() |
JavaConstant |
uncompress(HotSpotVMConfig.CompressEncoding encoding) |
asBoolean, asBoxedPrimitive, asDouble, asFloat, asInt, asLong, getSerializedSize, isDefaultForKind, isNull, serialize
getKind, getKindSuffix, getLIRKind, getPlatformKind, identityEquals
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isDefaultForKind, toValueString
add, defaultForKind, forBoolean, forBoxedPrimitive, forByte, forChar, forDouble, forFloat, forIllegal, forInt, forIntegerKind, forLong, forPrimitiveInt, forShort, isNonNull, isNull, mul, one, toString, toValueString, zero
getLIRKind, getPlatformKind, identityEquals
getKind
private final Object metaspaceObject
private final boolean compressed
private HotSpotMetaspaceConstantImpl(Kind kind, long primitive, Object metaspaceObject, boolean compressed)
static HotSpotMetaspaceConstantImpl forMetaspaceObject(Kind kind, long primitive, Object metaspaceObject, boolean compressed)
static Object getMetaspaceObject(Constant constant)
public int hashCode()
hashCode
in class PrimitiveConstant
public boolean equals(Object o)
equals
in class PrimitiveConstant
public String toString()
toString
in class PrimitiveConstant
public boolean isCompressed()
isCompressed
in interface HotSpotConstant
public JavaConstant compress(HotSpotVMConfig.CompressEncoding encoding)
compress
in interface HotSpotMetaspaceConstant
public JavaConstant uncompress(HotSpotVMConfig.CompressEncoding encoding)
uncompress
in interface HotSpotMetaspaceConstant
public HotSpotResolvedObjectType asResolvedJavaType()
asResolvedJavaType
in interface HotSpotMetaspaceConstant
public long rawValue()
rawValue
in interface HotSpotMetaspaceConstant