org.jikesrvm.classloader
Class SpecializedMethodManager

java.lang.Object
  extended by org.jikesrvm.classloader.SpecializedMethodManager

public final class SpecializedMethodManager
extends Object

The manager of specialized methods.


Field Summary
private static SpecializedMethod[] methods
          All the specialized methods
private static int numSpecializedMethods
          The number of specialized methods.
 
Constructor Summary
private SpecializedMethodManager()
          Can not create an instance of the manager
 
Method Summary
private static void initializeSpecializedMethod(int id)
          Ensure that a specific specialized method now exists.
static void notifyTypeInstantiated(RVMType type)
          Set up the specialized methods for the given type
static int numSpecializedMethods()
          The number of specialized methods
static void refreshSpecializedMethods(RVMType type)
          Set up the specialized methods for the given type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numSpecializedMethods

private static final int numSpecializedMethods
The number of specialized methods. Currently the MM is the only consumer.


methods

private static final SpecializedMethod[] methods
All the specialized methods

Constructor Detail

SpecializedMethodManager

private SpecializedMethodManager()
Can not create an instance of the manager

Method Detail

numSpecializedMethods

public static int numSpecializedMethods()
The number of specialized methods


notifyTypeInstantiated

public static void notifyTypeInstantiated(RVMType type)
Set up the specialized methods for the given type


refreshSpecializedMethods

public static void refreshSpecializedMethods(RVMType type)
Set up the specialized methods for the given type


initializeSpecializedMethod

private static void initializeSpecializedMethod(int id)
Ensure that a specific specialized method now exists.