APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.utilities

public abstract Class GenericArray

extends VMObject
Class Inheritance
Known Direct Subclasses
sun.jvm.hotspot.utilities.IntArray, sun.jvm.hotspot.utilities.KlassArray, sun.jvm.hotspot.utilities.MethodArray, sun.jvm.hotspot.utilities.U1Array, sun.jvm.hotspot.utilities.U2Array, sun.jvm.hotspot.utilities.U4Array, sun.jvm.hotspot.oops.ResolvedFieldArray, sun.jvm.hotspot.oops.ResolvedIndyArray, sun.jvm.hotspot.oops.ResolvedMethodArray, sun.jvm.hotspot.utilities.ArrayOfU1Array
Imports
sun.jvm.hotspot.debugger.Address, sun.jvm.hotspot.oops.ArrayKlass, .CIntField, .Oop, sun.jvm.hotspot.runtime.VM, .VMObject, sun.jvm.hotspot.types.AddressField, .Type, .TypeDataBase, .WrongTypeException, sun.jvm.hotspot.utilities.Observable, .Observer

The base class for the mirrors of the Array C++ classes.

Field Summary

Modifier and TypeField and Description
private long
private static CIntField
private static long
Inherited from sun.jvm.hotspot.runtime.VMObject:
addr

Constructor Summary

AccessConstructor and Description
public
GenericArray(Address addr, long dataOffset)

Method Summary

Modifier and TypeMethod and Description
private long
byteSizeof(int length)

protected Address
getAddressAt(int index)

public Address
public abstract Type
getElemType()

The element type of this array.

protected long
getIntegerAt(int index)

Gets the element at the given index.

public int
public long
private static synchronized void
public int
Inherited from sun.jvm.hotspot.runtime.VMObject:
equalsgetAddresshashCodetoString

Field Detail

dataFieldOffsetback to summary
private long dataFieldOffset
lengthFieldback to summary
private static CIntField lengthField
sizeOfArrayback to summary
private static long sizeOfArray

Constructor Detail

GenericArrayback to summary
public GenericArray(Address addr, long dataOffset)

Method Detail

byteSizeofback to summary
private long byteSizeof(int length)
getAddressAtback to summary
protected Address getAddressAt(int index)
getDataStartback to summary
public Address getDataStart()
getElemTypeback to summary
public abstract Type getElemType()

The element type of this array.

getIntegerAtback to summary
protected long getIntegerAt(int index)

Gets the element at the given index.

getLengthback to summary
public int getLength()
getSizeback to summary
public long getSize()
initializeback to summary
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException
lengthback to summary
public int length()