private final class HotSpotConstantPool.ResolvedReferences extends Object
HotSpotConstantPool.Cache| Modifier and Type | Field and Description |
|---|---|
private HashMap<Integer,Integer> |
referenceMap
Map of constant pool indexes to
ConstantPool::_resolved_references indexes. |
private Object[] |
resolvedReferences
Pointer to the
ConstantPool::_resolved_references array. |
| Modifier | Constructor and Description |
|---|---|
private |
ResolvedReferences() |
| Modifier and Type | Method and Description |
|---|---|
int |
constantPoolIndexToResolvedReferencesIndex(int cpi)
See
ConstantPool::cp_to_object_index. |
private void |
fillReferenceMap()
Fills the
referenceMap with all the values from
ConstantPool::_reference_map for faster lookup. |
Object[] |
getArray()
Returns the
ConstantPool::_resolved_references array for this constant pool. |
private Object[] resolvedReferences
ConstantPool::_resolved_references array.private final HashMap<Integer,Integer> referenceMap
ConstantPool::_resolved_references indexes.private ResolvedReferences()
public Object[] getArray()
ConstantPool::_resolved_references array for this constant pool.private void fillReferenceMap()
referenceMap with all the values from
ConstantPool::_reference_map for faster lookup.public int constantPoolIndexToResolvedReferencesIndex(int cpi)
ConstantPool::cp_to_object_index.cpi - constant pool index