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()
          Should assertions be enabled on this type?
 int RVMClass.getDimensionality()
          Number of [ in descriptor for arrays; -1 for primitives; 0 for classes
 int RVMArray.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()
          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[] RVMClass.getInstanceFields()
          Non-static fields of this class (composed with supertypes, if any).
 RVMField[] RVMArray.getInstanceFields()
          Non-static fields of this array type.
 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).
 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 RVMClass.getMemoryBytes()
          Space required in memory in bytes.
 int RVMArray.getMemoryBytes()
          Space required in memory in bytes.
 int Primitive.getMemoryBytes()
          Space required in memory in bytes.
 int UnboxedType.getMemoryBytes()
          Space required in memory in bytes.
private  RVMAnnotation[][] RVMMethod.getParameterAnnotations()
          Get the parameter annotations for this method
static RVMArray RVMArray.getPrimitiveArrayType(int atype)
          Get description of specified primitive array.
 int RVMClass.getStackWords()
          Stack space requirement in words.
 int RVMArray.getStackWords()
           
 int Primitive.getStackWords()
          Stack space requirement in words.
 int UnboxedType.getStackWords()
          Stack space requirement in words.
 RVMField[] RVMClass.getStaticFields()
          Static fields of this class.
 RVMField[] RVMArray.getStaticFields()
          Static fields of this array type.
 RVMField[] Primitive.getStaticFields()
          Static fields of this class/array type.
 RVMField[] UnboxedType.getStaticFields()
          Static fields of this class/array type.
 RVMMethod[] RVMClass.getStaticMethods()
          Statically dispatched methods of this class.
 RVMMethod[] RVMArray.getStaticMethods()
          Statically dispatched methods of this array type.
 RVMMethod[] Primitive.getStaticMethods()
          Statically dispatched methods of this class/array type.
 RVMMethod[] UnboxedType.getStaticMethods()
          Statically dispatched methods of this class/array type.
 Offset Primitive.getThinLockOffset()
          Get the offset in instances of this type assigned to the thin lock word.
 Offset UnboxedType.getThinLockOffset()
          Get the offset in instances of this type assigned to the thin lock word.
 int RVMClass.getTypeDepth()
          get number of superclasses to Object
 int RVMArray.getTypeDepth()
          get number of superclasses to Object
 int Primitive.getTypeDepth()
          get number of superclasses to Object
 int UnboxedType.getTypeDepth()
          get number of superclasses to Object
 TIB RVMArray.getTypeInformationBlock()
          Runtime type information for this array type.
(package private)  Object RVMAnnotation.AnnotationMember.getValue()
           
 RVMMethod[] RVMClass.getVirtualMethods()
          Virtually dispatched methods of this class (composed with supertypes, if any).
 RVMMethod[] RVMArray.getVirtualMethods()
          Virtually dispatched methods of this array type.
 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).
 boolean RVMClass.hasFinalizer()
          Does this class override java.lang.Object.finalize()?
 boolean RVMArray.hasFinalizer()
          Does this class override java.lang.Object.finalize()?
 boolean Primitive.hasFinalizer()
          Does this type override java.lang.Object.finalize()?
 boolean UnboxedType.hasFinalizer()
          Does this type 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 RVMArray.isAcyclicReference()
          Reference Count GC: Is a reference of this type contained in another object inherently acyclic (without cycles) ?
 boolean Primitive.isAcyclicReference()
          Reference Count GC: Is a reference of this type contained in another object inherently acyclic (without cycles) ?
 boolean UnboxedType.isAcyclicReference()
          Reference Count GC: Is a reference of this type contained in another object inherently acyclic (without cycles) ?
 boolean Atom.isAnnotationClass()
          Is this an annotation class name of the form Lfoo.bar$$;
 boolean Atom.isArrayDescriptor()
          Is "this" atom an array descriptor?
 boolean RVMClass.isArrayType()
          Whether or not this is an instance of RVMArray?
 boolean RVMArray.isArrayType()
          Whether or not this is an instance of RVMArray?
 boolean Primitive.isArrayType()
          Whether or not this is an instance of RVMArray?
 boolean UnboxedType.isArrayType()
          Whether or not this is an instance of RVMArray?
 boolean Atom.isBootstrapClassDescriptor()
           
 boolean Atom.isClassDescriptor()
          Is "this" atom a class descriptor?
 boolean RVMClass.isClassType()
          Whether or not this is an instance of RVMClass?
 boolean RVMArray.isClassType()
          Whether or not this is an instance of RVMClass?
 boolean Primitive.isClassType()
          Whether or not this is an instance of RVMClass?
 boolean UnboxedType.isClassType()
          Whether or not this is an instance of RVMClass?
 boolean Primitive.isInBootImage()
          Is this class part of the virtual machine's boot image?
 boolean UnboxedType.isInBootImage()
          Is this class part of the virtual machine's boot image?
 boolean Primitive.isInitialized()
          Initialization status.
 boolean UnboxedType.isInitialized()
          Initialization status.
 boolean Primitive.isInstantiated()
          Instantiation status.
 boolean UnboxedType.isInstantiated()
          Instantiation status.
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 RVMClass.isPrimitiveType()
          Whether or not this is a primitive type
 boolean RVMArray.isPrimitiveType()
          Whether or not this is a primitive type
 boolean Primitive.isPrimitiveType()
          Whether or not this is a primitive type
 boolean UnboxedType.isPrimitiveType()
          Whether or not this is a primitive type
 boolean RVMClass.isReferenceType()
           
 boolean RVMArray.isReferenceType()
           
 boolean Primitive.isReferenceType()
           
 boolean UnboxedType.isReferenceType()
           
 boolean Atom.isReservedMemberName()
          Is "this" atom a reserved member name?
 boolean Atom.isRVMDescriptor()
           
 boolean RVMClass.isUnboxedType()
           
 boolean RVMArray.isUnboxedType()
           
 boolean Primitive.isUnboxedType()
           
 boolean UnboxedType.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 RVMClass.toString()
          Name - something like "java.lang.String".
 String Atom.toString()
          Return printable representation of "this" atom.
 String RVMArray.toString()
          Name - something like "[I" or "[Ljava.lang.String;"
 String Primitive.toString()
          Name - something like "int".
 String UnboxedType.toString()
          Name - something like "int".
 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"?