Package | Description |
---|---|
org.jikesrvm.adaptive | |
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.opt | |
org.jikesrvm.compilers.opt.escape | |
org.jikesrvm.compilers.opt.hir2lir | |
org.jikesrvm.compilers.opt.ir.operand | |
org.jikesrvm.ia32 | |
org.jikesrvm.objectmodel | |
org.jikesrvm.runtime | |
org.jikesrvm.tools.header_gen |
Modifier and Type | Field and Description |
---|---|
static RVMField |
AosEntrypoints.cbsResetValueField |
static RVMField |
AosEntrypoints.counterArrayManagerCounterArraysField |
static RVMField |
AosEntrypoints.edgeListenerSamplesTakenField |
static RVMField |
AosEntrypoints.edgeListenerUpdateCalledField |
static RVMField |
AosEntrypoints.globalCBSField |
static RVMField |
AosEntrypoints.invocationCountsField |
static RVMField |
AosEntrypoints.methodListenerNumSamplesField |
static RVMField |
AosEntrypoints.specializedMethodsField |
static RVMField |
AosEntrypoints.threadCBSField |
static RVMField |
AosEntrypoints.yieldCountListenerNumYieldsField |
Modifier and Type | Field and Description |
---|---|
private RVMField[] |
FieldVector.array |
private RVMField[] |
RVMClass.declaredFields
Fields of this class
|
private static RVMField[] |
FieldVector.empty |
protected static RVMField[] |
RVMType.emptyVMField
Canonical representation of no fields
|
private RVMField[] |
RVMClass.instanceFields
fields distinct for each instance of class
|
static RVMField |
RVMType.JavaLangRefReferenceReferenceField |
private RVMField |
FieldReference.resolvedMember
The RVMField that this field reference resolved to (
null if not yet resolved). |
private RVMField[] |
RVMClass.staticFields
fields shared by all instances of class
|
Modifier and Type | Method and Description |
---|---|
(package private) static RVMField |
RVMField.createAnnotationField(TypeReference annotationClass,
MemberReference memRef) |
RVMField |
RVMClass.findDeclaredField(Atom fieldName)
Find description of a field of this class.
|
RVMField |
RVMClass.findDeclaredField(Atom fieldName,
Atom fieldDescriptor)
Find description of a field of this class.
|
RVMField[] |
FieldVector.finish() |
RVMField[] |
RVMClass.getDeclaredFields() |
RVMField[] |
RVMClass.getInstanceFields() |
abstract RVMField[] |
RVMType.getInstanceFields() |
RVMField[] |
Primitive.getInstanceFields()
Non-static fields of this class/array type
(composed with supertypes, if any).
|
RVMField[] |
UnboxedType.getInstanceFields()
Non-static fields of this class/array type
(composed with supertypes, if any).
|
RVMField[] |
RVMArray.getInstanceFields()
Non-static fields of this array type.
|
RVMField[] |
RVMClass.getStaticFields() |
abstract RVMField[] |
RVMType.getStaticFields() |
RVMField[] |
Primitive.getStaticFields()
Static fields of this class/array type.
|
RVMField[] |
UnboxedType.getStaticFields()
Static fields of this class/array type.
|
RVMField[] |
RVMArray.getStaticFields()
Static fields of this array type.
|
RVMField |
FieldReference.peekResolvedField()
Find the RVMField that this field reference refers to using
the search order specified in JVM spec 5.4.3.2.
|
(package private) static RVMField[] |
ClassFileReader.readDeclaredFields(TypeReference typeRef,
DataInputStream input,
int[] constantPool) |
(package private) static RVMField |
RVMField.readField(TypeReference declaringClass,
int[] constantPool,
MemberReference memRef,
short modifiers,
DataInputStream input)
Reads and creates a field.
|
RVMField |
FieldReference.resolve()
Find the RVMField that this field reference refers to using
the search order specified in JVM spec 5.4.3.2.
|
private RVMField |
FieldReference.resolveInternal(RVMClass declaringClass) |
private RVMField |
FieldReference.searchInterfaceFields(RVMClass c) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
FieldVector.addElement(RVMField item) |
void |
RVMClass.makeFieldTraced(RVMField field)
Make the passed field a traced field by garbage collection.
|
boolean |
NormalMethod.mayWrite(RVMField field) |
boolean |
RVMMethod.mayWrite(RVMField field) |
private void |
RVMClass.setFinalStaticJTOCEntry(RVMField field,
Offset fieldOffset)
Inserts the value of a final static field into the JTOC.
|
(package private) void |
FieldReference.setResolvedMember(RVMField it) |
Constructor and Description |
---|
RVMClass(TypeReference typeRef,
int[] constantPool,
short modifiers,
RVMClass superClass,
RVMClass[] declaredInterfaces,
RVMField[] declaredFields,
RVMMethod[] declaredMethods,
TypeReference[] declaredClasses,
TypeReference declaringClass,
TypeReference enclosingClass,
MethodReference enclosingMethod,
Atom sourceName,
RVMMethod classInitializerMethod,
Atom signature,
RVMAnnotation[] annotations)
Construct a class from its constituent loaded parts
|
Modifier and Type | Field and Description |
---|---|
private ImmutableEntryHashMapRVM<RVMField,FieldDatabase.FieldDatabaseEntry> |
FieldDatabase.db |
Modifier and Type | Method and Description |
---|---|
(package private) FieldDatabase.FieldDatabaseEntry |
FieldDatabase.findOrCreateEntry(RVMField f) |
static Address |
StaticFieldReader.getAddressStaticFieldValue(RVMField field)
Returns the current contents of a Address static field.
|
TypeReference |
FieldDatabase.getConcreteType(RVMField f) |
static TypeReference |
FieldAnalysis.getConcreteType(RVMField f)
Gets the a single concrete type for a field, if there is one.
|
static double |
StaticFieldReader.getDoubleStaticFieldValue(RVMField field)
Returns the current contents of a double static field.
|
static ConstantOperand |
StaticFieldReader.getFieldValueAsConstant(RVMField field,
Object obj) |
static float |
StaticFieldReader.getFloatStaticFieldValue(RVMField field)
Returns the current contents of a float static field.
|
static int |
StaticFieldReader.getIntStaticFieldValue(RVMField field)
Returns the current contents of an int-like static field.
|
private static Field |
StaticFieldReader.getJDKField(RVMField field)
Converts a RVMField to a java.lang.reflect.Field.
|
static long |
StaticFieldReader.getLongStaticFieldValue(RVMField field)
Returns the current contents of a long static field.
|
static Object |
StaticFieldReader.getObjectStaticFieldValue(RVMField field)
Returns the current contents of a reference static field.
|
static ConstantOperand |
StaticFieldReader.getStaticFieldValue(RVMField field)
Returns a constant operand with the current value of a static field.
|
static TypeReference |
StaticFieldReader.getTypeFromStaticField(RVMField field)
Get the type of an object contained in a static field.
|
static boolean |
StaticFieldReader.isStaticFieldNull(RVMField field)
Does a static field null contain
null ? |
private static boolean |
FieldAnalysis.isTrouble(RVMField f)
For some special classes, the flow-insensitive summaries
are INCORRECT due to using the wrong implementation
during boot image writing.
|
private static void |
FieldAnalysis.recordBottom(RVMMethod m,
RVMField f)
Records that a method writes an unknown concrete type to a field.
|
private static void |
FieldAnalysis.recordConcreteType(RVMMethod m,
RVMField f,
TypeReference t)
Record that a method stores an object of a particular concrete type
to a field.
|
private static void |
StaticFieldReader.throwNoSuchFieldExceptionWithCause(RVMField field,
Throwable cause) |
private static void |
StaticFieldReader.throwOptimizingCompilerExceptionBecauseOfIllegalAccess(RVMField field,
Throwable e) |
Constructor and Description |
---|
FieldDatabaseEntry(RVMField f) |
Modifier and Type | Method and Description |
---|---|
private static ArrayList<RVMField> |
ObjectReplacer.getFieldsAsArrayList(RVMClass klass)
Returns the instance fields of the object.
|
Modifier and Type | Method and Description |
---|---|
private void |
ObjectReplacer.scalarReplace(RegisterOperand use,
RegisterOperand[] scalars,
ArrayList<RVMField> fields,
Set<Register> visited)
Replace a given use of a object with its scalar equivalent
|
private void |
ObjectReplacer.transform2(Register reg,
Instruction defI,
RegisterOperand[] scalars,
ArrayList<RVMField> fields,
Set<Register> visited) |
Modifier and Type | Method and Description |
---|---|
static RegisterOperand |
ConvertToLowLevelIR.getField(Instruction s,
IR ir,
RegisterOperand obj,
RVMField field) |
(package private) static RegisterOperand |
ConvertToLowLevelIR.getField(Instruction s,
IR ir,
RegisterOperand obj,
RVMField field,
Operand guard) |
static RegisterOperand |
ConvertToLowLevelIR.getStatic(Instruction s,
IR ir,
RVMField field) |
Modifier and Type | Method and Description |
---|---|
static MethodOperand |
MethodOperand.STATIC(RVMField target)
create a method operand for an INVOKE_STATIC bytecode
where the target method is known at compile time.
|
Constructor and Description |
---|
LocationOperand(RVMField loc)
Constructs a new location operand with the given field
|
Modifier and Type | Field and Description |
---|---|
static RVMField[] |
OutOfLineMachineCode.pcThunkInstructionsField |
Modifier and Type | Method and Description |
---|---|
protected void |
FieldLayout.layoutField(FieldLayoutContext layout,
RVMClass klass,
RVMField field,
int fieldSize)
Lay out a given field.
|
protected void |
FieldLayout.setOffset(RVMClass klass,
RVMField field,
int offset)
Update a field to set its offset within the object.
|
Modifier and Type | Method and Description |
---|---|
static RVMField |
EntrypointHelper.getField(Class<?> klass,
String member,
Class<?> type)
Get description of virtual machine field.
|
(package private) static RVMField |
EntrypointHelper.getField(String klass,
String member,
Class<?> type)
Get description of virtual machine field.
|
static RVMField |
EntrypointHelper.getField(String klass,
String member,
String descriptor) |
Modifier and Type | Method and Description |
---|---|
int |
AscendingOffsetComparator.compare(RVMField firstField,
RVMField secondField) |