public class ObjectArrayImpl extends AbstractArrayImpl implements IObjectArray
IObject.Type| Constructor and Description |
|---|
ObjectArrayImpl(int objectId,
long address,
ClassImpl classInstance,
int length)
Constructs an array of objects.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
doGetUsedHeapSize(ClassImpl clazz,
int length)
Calculates the size of an object array
|
List<NamedReference> |
getOutboundReferences()
Get list of snapshot objects referenced from this snapshot object with
the name of the field over which it was referenced.
|
long[] |
getReferenceArray()
Get an array with the object addresses.
|
long[] |
getReferenceArray(int offset,
int length)
Get an array with the object addresses, beginning at
offset
and length number of elements. |
ArrayLong |
getReferences()
Gets the outbound references from this object, as addresses.
|
long |
getUsedHeapSize()
Get used heap size of just this object.
|
getInfo, getLength, getTechnicalName, setInfo, setLengthequals, getClassAddress, getClassId, getClassSpecificName, getClazz, getComparatorForClassSpecificName, getComparatorForTechnicalName, getComparatorForUsedHeapSize, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getRetainedHeapSize, getSnapshot, hashCode, resolveValue, setClassInstance, setObjectAddress, setObjectId, setSnapshot, toStringgetClassSpecificName, getClazz, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getRetainedHeapSize, getSnapshot, getTechnicalName, resolveValuepublic ObjectArrayImpl(int objectId,
long address,
ClassImpl classInstance,
int length)
objectId - the object id of the arrayaddress - the actual addressclassInstance - the type of the arraylength - the length of the array in elementspublic long getUsedHeapSize()
IObjectgetUsedHeapSize in interface IObjectgetUsedHeapSize in class AbstractObjectImplpublic static long doGetUsedHeapSize(ClassImpl clazz, int length)
clazz - the typelength - the length in elementspublic long[] getReferenceArray()
IObjectArraynull
values in the array.getReferenceArray in interface IObjectArraypublic long[] getReferenceArray(int offset,
int length)
IObjectArrayoffset
and length number of elements.getReferenceArray in interface IObjectArraypublic ArrayLong getReferences()
AbstractObjectImplgetReferences in class AbstractObjectImplpublic List<NamedReference> getOutboundReferences()
IObjectgetOutboundReferences in interface IObject