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.common.assembler.ia32 | |
org.jikesrvm.compilers.opt.ir.ia32 | |
org.jikesrvm.compilers.opt.ir.ppc | |
org.jikesrvm.compilers.opt.lir2mir.ia32_32 | |
org.jikesrvm.compilers.opt.lir2mir.ia32_64 | |
org.jikesrvm.compilers.opt.lir2mir.ppc_32 | |
org.jikesrvm.compilers.opt.lir2mir.ppc_64 | |
org.jikesrvm.ia32 | |
org.jikesrvm.mm.mminterface | |
org.jikesrvm.runtime |
Modifier and Type | Method and Description |
---|---|
String |
Atom.annotationClassToAnnotationInterface()
Creates a class name from a type name.
|
Atom |
Atom.annotationInterfaceToAnnotationClass()
Creates an annotation name from a class name.
|
(package private) Atom |
Atom.arrayDescriptorFromElementDescriptor()
Return array descriptor corresponding to "this" array-element descriptor.
|
String |
Atom.classFileNameFromDescriptor()
Return name of class file corresponding to "this" class descriptor.
|
String |
Atom.classNameFromDescriptor()
Return class name corresponding to "this" class descriptor.
|
Atom |
Atom.descriptorFromClassName()
Return class descriptor corresponding to "this" class name.
|
boolean |
Atom.equals(Object other)
Outside of this class atoms are canonical and should be compared using ==.
|
RVMMethod |
RVMClass.findInitializerMethod(Atom memberDescriptor)
Find specified initializer method description.
|
static MethodReference |
MethodReference.findOrCreate(TypeReference tRef,
Atom mn,
Atom md)
Find or create a method reference
|
static Atom |
Atom.findOrCreateAsciiAtom(String str)
Find or create an atom.
|
static Atom |
Atom.findOrCreateUnicodeAtom(String str)
Find or create an atom.
|
static Atom |
Atom.findOrCreateUtf8Atom(byte[] utf8)
Find or create an atom.
|
RVMMethod |
RVMClass.findStaticMethod(Atom memberName,
Atom memberDescriptor)
Find specified static method description.
|
RVMClass[] |
RVMClass.getAllImplementedInterfaces() |
Object |
RVMMethod.getAnnotationDefault() |
static Atom |
Atom.getAtom(int id) |
RVMMethod[] |
RVMClass.getConstructorMethods() |
Annotation[][] |
RVMMethod.getDeclaredParameterAnnotations() |
boolean |
RVMClass.getDesiredAssertionStatus() |
int |
RVMClass.getDimensionality()
Number of [ in descriptor for arrays; -1 for primitives; 0 for
classes
|
int |
Primitive.getDimensionality()
Number of [ in descriptor for arrays; -1 for primitives; 0 for
classes
|
int |
UnboxedType.getDimensionality() |
int |
RVMArray.getDimensionality()
Number of [ in descriptor for arrays
|
TypeReference[] |
RVMMethod.getExceptionTypes()
Exceptions thrown by this method -
something like
{ "java/lang/IOException", "java/lang/EOFException" } |
RVMField[] |
RVMClass.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.
|
int |
RVMArray.getInstanceSize(int numelts)
Total size, in bytes, of an instance of this array type (including object header).
|
private Offset |
RVMMethod.getJtocOffset()
Gets the offset used to hold a JTOC addressable version of the current entry
code array.
|
private String |
NativeMethod.getMangledName(boolean sig)
Computes the mangled name of the native routine: Java_Class_Method_Sig
|
int |
RVMClass.getMemoryBytes() |
int |
Primitive.getMemoryBytes() |
int |
UnboxedType.getMemoryBytes() |
int |
RVMArray.getMemoryBytes() |
private RVMAnnotation[][] |
RVMMethod.getParameterAnnotations() |
static RVMArray |
RVMArray.getPrimitiveArrayType(int atype)
Get description of specified primitive array.
|
int |
RVMClass.getStackWords() |
int |
Primitive.getStackWords()
Stack space requirement in words.
|
int |
UnboxedType.getStackWords()
Stack space requirement in words.
|
int |
RVMArray.getStackWords() |
RVMField[] |
RVMClass.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.
|
RVMMethod[] |
RVMClass.getStaticMethods() |
RVMMethod[] |
Primitive.getStaticMethods()
Statically dispatched methods of this class/array type.
|
RVMMethod[] |
UnboxedType.getStaticMethods()
Statically dispatched methods of this class/array type.
|
RVMMethod[] |
RVMArray.getStaticMethods()
Statically dispatched methods of this array type.
|
Offset |
Primitive.getThinLockOffset() |
Offset |
UnboxedType.getThinLockOffset() |
int |
RVMClass.getTypeDepth() |
int |
Primitive.getTypeDepth()
get number of superclasses to Object
|
int |
UnboxedType.getTypeDepth() |
int |
RVMArray.getTypeDepth() |
TIB |
RVMArray.getTypeInformationBlock()
Runtime type information for this array type.
|
(package private) Object |
RVMAnnotation.AnnotationMember.getValue() |
RVMMethod[] |
RVMClass.getVirtualMethods() |
RVMMethod[] |
Primitive.getVirtualMethods()
Virtually dispatched methods of this class/array type
(composed with supertypes, if any).
|
RVMMethod[] |
UnboxedType.getVirtualMethods()
Virtually dispatched methods of this class/array type
(composed with supertypes, if any).
|
RVMMethod[] |
RVMArray.getVirtualMethods()
Virtually dispatched methods of this array type.
|
boolean |
RVMClass.hasFinalizer() |
boolean |
Primitive.hasFinalizer() |
boolean |
UnboxedType.hasFinalizer() |
boolean |
RVMArray.hasFinalizer() |
void |
Primitive.initialize()
Cause initialization to take place.
|
void |
UnboxedType.initialize()
Cause initialization to take place.
|
void |
Primitive.instantiate()
Cause instantiation to take place.
|
void |
UnboxedType.instantiate()
Cause instantiation to take place.
|
boolean |
Primitive.isAcyclicReference() |
boolean |
UnboxedType.isAcyclicReference() |
boolean |
RVMArray.isAcyclicReference() |
boolean |
Atom.isAnnotationClass() |
boolean |
Atom.isArrayDescriptor() |
boolean |
RVMClass.isArrayType() |
boolean |
Primitive.isArrayType() |
boolean |
UnboxedType.isArrayType() |
boolean |
RVMArray.isArrayType() |
boolean |
Atom.isBootstrapClassDescriptor() |
boolean |
Atom.isClassDescriptor() |
boolean |
RVMClass.isClassType() |
boolean |
Primitive.isClassType() |
boolean |
UnboxedType.isClassType() |
boolean |
RVMArray.isClassType() |
boolean |
Primitive.isInBootImage() |
boolean |
UnboxedType.isInBootImage() |
boolean |
Primitive.isInitialized() |
boolean |
UnboxedType.isInitialized() |
boolean |
Primitive.isInstantiated() |
boolean |
UnboxedType.isInstantiated() |
static boolean |
TypeDescriptorParsing.isJavaClassName(String s)
Is the string
s a legal name for a Java class or interface? |
private static boolean |
TypeDescriptorParsing.isJavaPrimitive(byte b) |
private static boolean |
TypeDescriptorParsing.isJavaPrimitive(char c) |
boolean |
Atom.isMethodDescriptor() |
boolean |
RVMClass.isPrimitiveType() |
boolean |
Primitive.isPrimitiveType() |
boolean |
UnboxedType.isPrimitiveType() |
boolean |
RVMArray.isPrimitiveType() |
boolean |
RVMClass.isReferenceType() |
boolean |
Primitive.isReferenceType() |
boolean |
UnboxedType.isReferenceType() |
boolean |
RVMArray.isReferenceType() |
boolean |
Atom.isReservedMemberName()
Note: Sun has reserved all member names starting with '<' for future use.
|
boolean |
Atom.isRVMDescriptor() |
boolean |
RVMClass.isUnboxedType() |
boolean |
Primitive.isUnboxedType() |
boolean |
UnboxedType.isUnboxedType() |
boolean |
RVMArray.isUnboxedType() |
static boolean |
TypeDescriptorParsing.isValidTypeDescriptor(Atom a) |
static boolean |
TypeDescriptorParsing.isValidTypeDescriptor(String s) |
static boolean |
TypeDescriptorParsing.isVMIdentifierPart(char c)
Java 1.5 relaxes the historical convention that class file identifiers
(i.e. class, field, and method names) must be drawn from the characters
specified by JLS identifiers (i.e. implemented by
java.lang.Character.isJavaIdentifierPart()).
|
static boolean |
TypeDescriptorParsing.isVMIdentifierStart(char c)
Java 1.5 relaxes the historical convention that class file identifiers
(i.e. class, field, and method names) must be drawn from the characters
specified by JLS identifiers (i.e. implemented by
java.lang.Character.isJavaIdentifierStart()).
|
static int |
BytecodeConstants.JBC_length(int bc)
Returns the length of the given bytecode.
|
static String |
BytecodeConstants.JBC_name(int bc)
Gets the name of a bytecode (for debugging/printing).
|
int |
Atom.parseForArrayDimensionality()
Parse "this" array descriptor to obtain number of dimensions in
corresponding array type.
|
Atom |
Atom.parseForArrayElementDescriptor()
Parse "this" array descriptor to obtain descriptor for array's element
type.
|
byte |
Atom.parseForArrayElementTypeCode()
Parse "this" array descriptor to obtain type code for its element type.
|
Atom |
Atom.parseForInnermostArrayElementDescriptor() |
Class<?>[] |
Atom.parseForParameterClasses(ClassLoader cl)
Parse "this" method descriptor to obtain descriptions of method's
parameters as classes.
|
TypeReference[] |
Atom.parseForParameterTypes(ClassLoader cl)
Parse "this" method descriptor to obtain descriptions of method's
parameters.
|
TypeReference |
Atom.parseForReturnType(ClassLoader cl)
Parse "this" method descriptor to obtain description of method's
return type.
|
byte |
Atom.parseForTypeCode()
Parse "this" field, parameter, or return descriptor to obtain its
type code.
|
private String |
NativeMethod.replaceCharWithString(String originalString,
char targetChar,
String replaceString) |
void |
Primitive.resolve()
Cause resolution to take place.
|
void |
UnboxedType.resolve()
Cause resolution to take place.
|
String |
Atom.toString()
Return printable representation of "this" atom.
|
String |
RVMClass.toString()
Name - something like "java.lang.String".
|
String |
Primitive.toString()
Name - something like "int".
|
String |
UnboxedType.toString()
Name - something like "int".
|
String |
RVMArray.toString()
Name - something like "[I" or "[Ljava.lang.String;"
|
String |
Atom.toUnicodeString() |
static int |
UTF8Convert.utfLength(String s) |
static void |
TypeDescriptorParsing.validateAsTypeDescriptor(Atom a) |
static void |
TypeDescriptorParsing.validateAsTypeDescriptor(String s)
Validates that the given String is a valid type descriptor.
|
Modifier and Type | Method and Description |
---|---|
(package private) static float |
BranchProfile.countToFloat(int count)
Converts integer count to float handling overflow
|
Modifier and Type | Method and Description |
---|---|
private byte |
BaselineCompilerImpl.mapCondition(TemplateCompilerFramework.BranchCondition bc) |
Modifier and Type | Method and Description |
---|---|
(package private) static String |
Lister.decimal(int n) |
(package private) static String |
Lister.decimal(long n) |
(package private) static String |
Lister.hex(Address i) |
(package private) static String |
Lister.hex(byte b) |
static String |
Lister.hex(int i) |
(package private) static String |
Lister.hex(short i) |
private static String |
Lister.left(String s,
int w) |
private static String |
Lister.right(String s,
int w) |
Modifier and Type | Method and Description |
---|---|
static String |
PhysicalDefUse.getString(int code) |
static int |
GuardResultCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
LocationCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
GuardCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
ResultCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
BranchProfileCarrierLookup.lookup(int index)
Perform table lookup
|
static Operator |
ArchOperator.lookupOpcode(int opcode) |
static String |
ArchOperatorNames.toString(Operator operator)
Looks up name of operator
|
Modifier and Type | Method and Description |
---|---|
static int |
GuardResultCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
LocationCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
GuardCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
ResultCarrierLookup.lookup(int index)
Perform table lookup
|
static int |
BranchProfileCarrierLookup.lookup(int index)
Perform table lookup
|
static Operator |
ArchOperator.lookupOpcode(int opcode) |
static String |
ArchOperatorNames.toString(Operator operator)
Looks up name of operator
|
Modifier and Type | Method and Description |
---|---|
static byte |
BURS_STATE.action(int ruleno)
Gets the action flags (such as EMIT_INSTRUCTION) associated with the given
rule number.
|
static char |
BURS_STATE.decode(int goalnt,
int stateNT)
Decode the target non-terminal and minimal cost covering statement
into the rule that produces the non-terminal
|
Modifier and Type | Method and Description |
---|---|
static byte |
BURS_STATE.action(int ruleno)
Gets the action flags (such as EMIT_INSTRUCTION) associated with the given
rule number.
|
static char |
BURS_STATE.decode(int goalnt,
int stateNT)
Decode the target non-terminal and minimal cost covering statement
into the rule that produces the non-terminal
|
Modifier and Type | Method and Description |
---|---|
static byte |
BURS_STATE.action(int ruleno)
Gets the action flags (such as EMIT_INSTRUCTION) associated with the given
rule number.
|
static char |
BURS_STATE.decode(int goalnt,
int stateNT)
Decode the target non-terminal and minimal cost covering statement
into the rule that produces the non-terminal
|
Modifier and Type | Method and Description |
---|---|
static byte |
BURS_STATE.action(int ruleno)
Gets the action flags (such as EMIT_INSTRUCTION) associated with the given
rule number.
|
static char |
BURS_STATE.decode(int goalnt,
int stateNT)
Decode the target non-terminal and minimal cost covering statement
into the rule that produces the non-terminal
|
Modifier and Type | Method and Description |
---|---|
boolean |
RegisterConstants.GPR.isValidAs8bitRegister()
Intel have two flavours of 8bit opcodes, ones that operate on 32bit
registers and ones that operate on 8bit registers.
|
static RegisterConstants.GPR |
RegisterConstants.GPR.lookup(int num)
Convert encoded value into the GPR it represents
|
static RegisterConstants.FPR |
RegisterConstants.FPR.lookup(int num)
Convert encoded value into the FPR it represents
|
static RegisterConstants.MM |
RegisterConstants.MM.lookup(int num)
Convert encoded value into the MM it represents
|
static RegisterConstants.XMM |
RegisterConstants.XMM.lookup(int num)
Convert encoded value into the XMM it represents
|
boolean |
RegisterConstants.GPR.needsREXprefix() |
boolean |
RegisterConstants.FPR.needsREXprefix() |
boolean |
RegisterConstants.MM.needsREXprefix() |
boolean |
RegisterConstants.XMM.needsREXprefix() |
byte |
RegisterConstants.GPR.value() |
byte |
RegisterConstants.FPR.value() |
byte |
RegisterConstants.MM.value() |
byte |
RegisterConstants.XMM.value() |
byte |
RegisterConstants.GPR.valueForOpcode() |
Modifier and Type | Method and Description |
---|---|
static boolean |
MemoryManager.isImmortal(Object obj) |
static boolean |
MemoryManager.willNeverMove(Object obj)
Checks if the object can move.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RuntimeEntrypoints.isAssignableWith(RVMType lhs,
RVMType rhs)
May a variable of type "lhs" be assigned a value of type "rhs"?
|