Package | Description |
---|---|
org.jikesrvm.classloader |
Provides classes that implement the classloading system as well as
data types that represent Java entities like classes, fields, methods
and primitives.
|
org.jikesrvm.compilers.baseline | |
org.jikesrvm.compilers.baseline.ia32 | |
org.jikesrvm.compilers.opt.escape | |
org.jikesrvm.mm.mmtk | |
org.jikesrvm.objectmodel | |
org.jikesrvm.runtime |
Modifier and Type | Field and Description |
---|---|
static RVMArray |
RVMType.AddressArrayType |
static RVMArray |
RVMArray.BooleanArray |
static RVMArray |
RVMArray.ByteArray |
private RVMArray |
RVMType.cachedElementType
cached RVMArray that corresponds to arrays of this type.
|
static RVMArray |
RVMArray.CharArray |
static RVMArray |
RVMType.CodeArrayType |
static RVMArray |
RVMArray.DoubleArray |
static RVMArray |
RVMType.ExtentArrayType |
static RVMArray |
RVMArray.FloatArray |
static RVMArray |
RVMArray.IntArray |
static RVMArray |
RVMArray.JavaLangObjectArray |
static RVMArray |
RVMType.JavaLangObjectArrayType |
static RVMArray |
RVMArray.LongArray |
static RVMArray |
RVMType.ObjectReferenceArrayType |
static RVMArray |
RVMType.OffsetArrayType |
static RVMArray |
RVMArray.ShortArray |
static RVMArray |
RVMType.WordArrayType |
Modifier and Type | Method and Description |
---|---|
RVMArray |
RVMType.asArray() |
RVMArray |
RVMType.getArrayTypeForElementType() |
RVMArray |
BytecodeStream.getPrimitiveArrayType(int etype)
Returns the type of the array of given primitive type (as a RVMType).
|
static RVMArray |
RVMArray.getPrimitiveArrayType(int atype)
Get description of specified primitive array.
|
Modifier and Type | Method and Description |
---|---|
(package private) static int[] |
DynamicTypeCheck.buildDoesImplement(RVMArray t)
Create the doesImplement vector for a RVMArray.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TemplateCompilerFramework.emit_resolved_newarray(RVMArray array)
Emit code to allocate an array
|
Modifier and Type | Field and Description |
---|---|
private RVMArray |
BaselineMagic.CreateArray.array |
Modifier and Type | Method and Description |
---|---|
protected void |
BaselineCompilerImpl.emit_resolved_newarray(RVMArray array) |
Constructor and Description |
---|
CreateArray(RVMArray array) |
Modifier and Type | Field and Description |
---|---|
private RVMArray |
ShortArrayReplacer.vmArray
type of the array
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
ShortArrayReplacer.containsUnsupportedUse(IR ir,
Register reg,
int size,
RVMArray vmArray,
Set<Register> visited)
Some cases we don't handle yet.
|
Constructor and Description |
---|
ShortArrayReplacer(Register r,
RVMArray a,
int s,
IR i) |
Modifier and Type | Method and Description |
---|---|
private ObjectReference |
ObjectModel.copyArray(ObjectReference from,
TIB tib,
RVMArray type,
int allocator) |
Modifier and Type | Method and Description |
---|---|
static Address |
ObjectModel.allocateArray(BootImageInterface bootImage,
RVMArray array,
int numElements,
boolean needsIdentityHash,
int identityHashValue,
int alignCode)
Allocate and initialize space in the bootimage (at bootimage writing time)
to be an uninitialized instance of the (array) type specified by array.
|
static Address |
ObjectModel.allocateArray(BootImageInterface bootImage,
RVMArray array,
int numElements,
boolean needsIdentityHash,
int identityHashValue,
int align,
int alignCode)
Allocate and initialize space in the bootimage (at bootimage writing time)
to be an uninitialized instance of the (array) type specified by array.
|
static Address |
ObjectModel.allocateCode(BootImageInterface bootImage,
RVMArray array,
int numElements)
Allocate and initialize space in the bootimage (at bootimage writing time)
to be an uninitialized instance of the (array) type specified by array.
|
static int |
JavaHeader.bytesRequiredWhenCopied(Object fromObj,
RVMArray type,
int numElements)
how many bytes are needed when the array object is copied by GC?
|
static int |
ObjectModel.bytesRequiredWhenCopied(Object fromObj,
RVMArray type,
int numElements)
how many bytes are needed when the array object is copied by GC?
|
static int |
JavaHeader.bytesUsed(Object obj,
RVMArray type,
int numElements)
how many bytes are used by the array object?
|
static int |
ObjectModel.bytesUsed(Object obj,
RVMArray type,
int numElements)
how many bytes are used by the array?
|
static int |
JavaHeader.computeArrayHeaderSize(RVMArray type)
Computes the header size of an instance of the given type.
|
static int |
ObjectModel.computeArrayHeaderSize(RVMArray type)
Computes the header size of an instance of the given type.
|
static int |
JavaHeader.getAlignment(RVMArray t) |
static int |
ObjectModel.getAlignment(RVMArray t) |
static int |
JavaHeader.getAlignment(RVMArray t,
Object obj) |
static int |
ObjectModel.getAlignment(RVMArray t,
Object obj) |
static ObjectReference |
JavaHeader.getNextObject(ObjectReference obj,
RVMArray type,
int numElements)
Get the next array in the heap under contiguous
allocation.
|
static ObjectReference |
ObjectModel.getNextObject(ObjectReference obj,
RVMArray type,
int numElements)
Get the next object after this array under contiguous allocation.
|
static Address |
JavaHeader.getObjectEndAddress(Object obj,
RVMArray type,
int numElements)
What is the first word after the array?
|
static Address |
ObjectModel.getObjectEndAddress(Object object,
RVMArray type,
int elements)
Gets the pointer just past an object.
|
static int |
JavaHeader.getOffsetForAlignment(RVMArray t,
boolean needsIdentityHash) |
static int |
ObjectModel.getOffsetForAlignment(RVMArray t,
boolean needsIdentityHash) |
static int |
JavaHeader.getOffsetForAlignment(RVMArray t,
ObjectReference obj) |
static int |
ObjectModel.getOffsetForAlignment(RVMArray t,
ObjectReference obj) |
static Object |
JavaHeader.getReferenceWhenCopiedTo(Object obj,
Address to,
RVMArray type)
Gets the reference of an array when copied to the specified region.
|
static Object |
ObjectModel.getReferenceWhenCopiedTo(Object obj,
Address region,
RVMArray type)
Get the reference of an object after copying to a specified region.
|
static Object |
JavaHeader.moveObject(Address toAddress,
Object fromObj,
int numBytes,
RVMArray type)
Copies an array to the given raw storage address.
|
static Object |
ObjectModel.moveObject(Address toAddress,
Object fromObj,
int numBytes,
RVMArray type)
Copy an array object to the given raw storage address
|
static Object |
JavaHeader.moveObject(Object fromObj,
Object toObj,
int numBytes,
RVMArray type)
Copies an array to the given location.
|
static Object |
ObjectModel.moveObject(Object fromObj,
Object toObj,
int numBytes,
RVMArray type)
Copy an array object to the given raw storage address.
|
Modifier and Type | Method and Description |
---|---|
static Object |
RuntimeEntrypoints.buildMDAHelper(RVMMethod method,
int[] numElements,
int dimIndex,
RVMArray arrayType) |
static Object |
RuntimeEntrypoints.buildMultiDimensionalArray(int methodId,
int[] numElements,
RVMArray arrayType)
Build a multi-dimensional array.
|
static Object |
RuntimeEntrypoints.buildTwoDimensionalArray(int methodId,
int dim0,
int dim1,
RVMArray arrayType)
Build a two-dimensional array.
|
static Object |
RuntimeEntrypoints.resolvedNewArray(int numElements,
RVMArray array)
Allocate something like "new Foo[]".
|
static Object |
RuntimeEntrypoints.resolvedNewArray(int numElements,
RVMArray array,
int site) |