Uses of Class
org.vmmagic.pragma.Pure

Packages that use Pure
org.jikesrvm.classloader   
org.jikesrvm.compilers.common.assembler.ia32   
org.jikesrvm.compilers.opt.ir.ia32   
org.jikesrvm.ia32   
org.jikesrvm.mm.mminterface   
org.jikesrvm.runtime   
 

Uses of Pure in org.jikesrvm.classloader
 

Methods in org.jikesrvm.classloader with annotations of type Pure
 String Atom.annotationClassToAnnotationInterface()
          Create a class name from a type name.
 Atom Atom.annotationInterfaceToAnnotationClass()
          Create 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()
          Get the annotation default value for an annotation method
static Atom Atom.getAtom(int id)
           
 RVMMethod[] RVMClass.getConstructorMethods()
          Constructors () methods of this class.
 Annotation[][] RVMMethod.getDeclaredParameterAnnotations()
          Returns the parameter annotations for this method.
 boolean RVMClass.getDesiredAssertionStatus()
           
 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
 int RVMClass.getDimensionality()
          Number of [ in descriptor for arrays; -1 for primitives; 0 for classes
 TypeReference[] RVMMethod.getExceptionTypes()
          Exceptions thrown by this method - something like { "java/lang/IOException", "java/lang/EOFException" }
 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.getInstanceFields()
          Non-static fields of this class (composed with supertypes, if any).
 int RVMArray.getInstanceSize(int numelts)
          Total size, in bytes, of an instance of this array type (including object header).
private  Offset RVMMethod.getJtocOffset()
          Get the offset used to hold a JTOC addressable version of the current entry code array
private  String NativeMethod.getMangledName(boolean sig)
          Compute the mangled name of the native routine: Java_Class_Method_Sig
 int Primitive.getMemoryBytes()
           
 int UnboxedType.getMemoryBytes()
           
 int RVMArray.getMemoryBytes()
           
 int RVMClass.getMemoryBytes()
           
private  RVMAnnotation[][] RVMMethod.getParameterAnnotations()
          Get the parameter annotations for this method
static RVMArray RVMArray.getPrimitiveArrayType(int atype)
          Get description of specified primitive array.
 int Primitive.getStackWords()
          Stack space requirement in words.
 int UnboxedType.getStackWords()
          Stack space requirement in words.
 int RVMArray.getStackWords()
           
 int RVMClass.getStackWords()
           
 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[] RVMClass.getStaticFields()
          Static fields of this class.
 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.
 RVMMethod[] RVMClass.getStaticMethods()
          Statically dispatched methods of this class.
 Offset Primitive.getThinLockOffset()
           
 Offset UnboxedType.getThinLockOffset()
           
 int Primitive.getTypeDepth()
          get number of superclasses to Object
 int UnboxedType.getTypeDepth()
           
 int RVMArray.getTypeDepth()
           
 int RVMClass.getTypeDepth()
          Get number of superclasses to Object.
 TIB RVMArray.getTypeInformationBlock()
          Runtime type information for this array type.
(package private)  Object RVMAnnotation.AnnotationMember.getValue()
           
 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.
 RVMMethod[] RVMClass.getVirtualMethods()
          Virtually dispatched methods of this class (composed with supertypes, if any).
 boolean Primitive.hasFinalizer()
           
 boolean UnboxedType.hasFinalizer()
           
 boolean RVMArray.hasFinalizer()
           
 boolean RVMClass.hasFinalizer()
          Does this class override java.lang.Object.finalize()?
 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()
          Is this an annotation class name of the form Lfoo.bar$$;
 boolean Atom.isArrayDescriptor()
          Is "this" atom an array descriptor?
 boolean Primitive.isArrayType()
           
 boolean UnboxedType.isArrayType()
           
 boolean RVMArray.isArrayType()
           
 boolean RVMClass.isArrayType()
           
 boolean Atom.isBootstrapClassDescriptor()
           
 boolean Atom.isClassDescriptor()
          Is "this" atom a class descriptor?
 boolean Primitive.isClassType()
           
 boolean UnboxedType.isClassType()
           
 boolean RVMArray.isClassType()
           
 boolean RVMClass.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()
          Is "this" atom a method descriptor?
 boolean Primitive.isPrimitiveType()
           
 boolean UnboxedType.isPrimitiveType()
           
 boolean RVMArray.isPrimitiveType()
           
 boolean RVMClass.isPrimitiveType()
           
 boolean Primitive.isReferenceType()
           
 boolean UnboxedType.isReferenceType()
           
 boolean RVMArray.isReferenceType()
           
 boolean RVMClass.isReferenceType()
           
 boolean Atom.isReservedMemberName()
          Is "this" atom a reserved member name?
 boolean Atom.isRVMDescriptor()
           
 boolean Primitive.isUnboxedType()
           
 boolean UnboxedType.isUnboxedType()
           
 boolean RVMArray.isUnboxedType()
           
 boolean RVMClass.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()).
 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()
          Return the innermost element type reference for an array
 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)
          replace a character in a string with a string
 void Primitive.resolve()
          Cause resolution to take place.
 void UnboxedType.resolve()
          Cause resolution to take place.
 String Primitive.toString()
          Name - something like "int".
 String Atom.toString()
          Return printable representation of "this" atom.
 String UnboxedType.toString()
          Name - something like "int".
 String RVMArray.toString()
          Name - something like "[I" or "[Ljava.lang.String;"
 String RVMClass.toString()
          Name - something like "java.lang.String".
 String Atom.toUnicodeString()
          Return atom as a string literal
static int UTF8Convert.utfLength(String s)
          Returns the length of a string's UTF encoded form.
static void TypeDescriptorParsing.validateAsTypeDescriptor(Atom a)
           
static void TypeDescriptorParsing.validateAsTypeDescriptor(String s)
          Validate that the String @param s is a valid type descriptor.
 

Uses of Pure in org.jikesrvm.compilers.common.assembler.ia32
 

Methods in org.jikesrvm.compilers.common.assembler.ia32 with annotations of type Pure
(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)
           
 

Uses of Pure in org.jikesrvm.compilers.opt.ir.ia32
 

Methods in org.jikesrvm.compilers.opt.ir.ia32 with annotations of type Pure
static String PhysicalDefUse.getString(int code)
           
 

Uses of Pure in org.jikesrvm.ia32
 

Methods in org.jikesrvm.ia32 with annotations of type Pure
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()
           
 

Uses of Pure in org.jikesrvm.mm.mminterface
 

Methods in org.jikesrvm.mm.mminterface with annotations of type Pure
static boolean MemoryManager.isImmortal(Object obj)
          Will this object move (allows us to optimize some JNI calls)
static boolean MemoryManager.willNeverMove(Object obj)
          Will this object move (allows us to optimize some JNI calls)
 

Uses of Pure in org.jikesrvm.runtime
 

Methods in org.jikesrvm.runtime with annotations of type Pure
static boolean RuntimeEntrypoints.isAssignableWith(RVMType lhs, RVMType rhs)
          May a variable of type "lhs" be assigned a value of type "rhs"?