Package | Description |
---|---|
org.jikesrvm | |
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.ia32 | |
org.jikesrvm.compilers.opt.ir.operand |
Modifier and Type | Method and Description |
---|---|
static void |
VM.sysWrite(MemberReference mr) |
static void |
VM.write(MemberReference value)
Low level print to console.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldReference
A class to represent the reference in a class file to a field.
|
class |
MethodReference
A class to represent the reference in a class file to a method of
that class or interface.
|
Modifier and Type | Field and Description |
---|---|
private static MemberReference[][] |
MemberReference.members
Dictionary of all MemberReference instances.
|
protected MemberReference |
RVMMember.memRef
The canonical MemberReference for this member
|
Modifier and Type | Field and Description |
---|---|
private static ImmutableEntryHashSetRVM<MemberReference> |
MemberReference.dictionary
Used to canonicalize memberReferences
|
Modifier and Type | Method and Description |
---|---|
static MemberReference |
MemberReference.findOrCreate(TypeReference tRef,
Atom mn,
Atom md)
Find or create the canonical MemberReference instance for
the given tuple.
|
MemberReference |
RVMMember.getMemberRef() |
static MemberReference |
MemberReference.getMemberRef(int id) |
static MemberReference |
MemberReference.parse(StringTokenizer parser)
Given a StringTokenizer currently pointing to the start of a
MemberReference (created by doing a toString() on a
MemberReference), parse it and find/create the appropriate
MemberReference. |
static MemberReference |
MemberReference.parse(StringTokenizer parser,
boolean boot) |
Modifier and Type | Method and Description |
---|---|
(package private) static RVMField |
RVMField.createAnnotationField(TypeReference annotationClass,
MemberReference memRef) |
(package private) static RVMMethod |
RVMMethod.createDefaultConstructor(TypeReference klass,
MemberReference memRef)
Create a method to act as a default constructor (just return)
|
static InterfaceMethodSignature |
InterfaceMethodSignature.findOrCreate(MemberReference ref)
Find or create an interface method signature for the given method reference.
|
(package private) static RVMField |
RVMField.readField(TypeReference declaringClass,
int[] constantPool,
MemberReference memRef,
short modifiers,
DataInputStream input)
Reads and creates a field.
|
(package private) static RVMMethod |
RVMMethod.readMethod(TypeReference declaringClass,
int[] constantPool,
MemberReference memRef,
short modifiers,
DataInputStream input)
Called from
ClassFileReader.readClass(TypeReference,DataInputStream) to create an
instance of a RVMMethod by reading the relevant data from the argument bytecode stream. |
static int |
TableBasedDynamicLinker.resolveMember(MemberReference ref)
Cause dynamic linking of the argument MemberReference
|
Constructor and Description |
---|
AbstractMethod(TypeReference declaringClass,
MemberReference memRef,
short modifiers,
TypeReference[] exceptionTypes,
Atom signature,
RVMAnnotation[] annotations,
RVMAnnotation[][] parameterAnnotations,
Object annotationDefault)
Construct abstract method information
|
NativeMethod(TypeReference declaringClass,
MemberReference memRef,
short modifiers,
TypeReference[] exceptionTypes,
Atom signature,
RVMAnnotation[] annotations,
RVMAnnotation[][] parameterAnnotations,
Object annotationDefault)
Construct native method information
|
NormalMethod(TypeReference dc,
MemberReference mr,
short mo,
TypeReference[] et,
short lw,
short ow,
byte[] bc,
ExceptionHandlerMap eMap,
int[] lm,
LocalVariableTable lvt,
int[] constantPool,
Atom sig,
RVMAnnotation[] annotations,
RVMAnnotation[][] parameterAnnotations,
Object ad)
Construct a normal Java bytecode method's information
|
RVMField(TypeReference declaringClass,
MemberReference memRef,
short modifiers,
Atom signature,
int constantValueIndex,
RVMAnnotation[] annotations)
Create a field.
|
RVMMember(TypeReference declaringClass,
MemberReference memRef,
short modifiers,
Atom signature,
RVMAnnotation[] annotations)
NOTE: Only
RVMClass is allowed to create an instance of a RVMMember. |
RVMMethod(TypeReference declaringClass,
MemberReference memRef,
short modifiers,
TypeReference[] exceptionTypes,
Atom signature,
RVMAnnotation[] annotations,
RVMAnnotation[][] parameterAnnotations,
Object annotationDefault)
Construct a read method
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
BaselineCompilerImpl.emitDynamicLinkingSequence(Assembler asm,
RegisterConstants.GPR reg,
MemberReference ref,
boolean couldBeZero)
Emit dynamic linking sequence placing the offset of the given member in reg
|
Modifier and Type | Field and Description |
---|---|
(package private) MemberReference |
MethodOperand.memRef
Member reference for target.
|
Modifier and Type | Method and Description |
---|---|
MemberReference |
MethodOperand.getMemberRef() |
Constructor and Description |
---|
MethodOperand(MemberReference ref,
RVMMethod tar,
byte t) |