public final class SpecializedMethodManager extends Object
Modifier and Type | Field and Description |
---|---|
private static SpecializedMethod[] |
methods
All the specialized methods
|
private static int |
numSpecializedMethods
The number of specialized methods.
|
Modifier | Constructor and Description |
---|---|
private |
SpecializedMethodManager()
Can not create an instance of the manager
|
Modifier and Type | Method and Description |
---|---|
private static void |
initializeSpecializedMethod(int id)
Initializes a specialized method with a given id.
|
static void |
notifyTypeInstantiated(RVMType type)
Sets up the specialized methods for the given type.
|
static int |
numSpecializedMethods() |
static void |
refreshSpecializedMethods(RVMType type)
Refreshes the specialized methods for the given type.
|
private static final int numSpecializedMethods
private static final SpecializedMethod[] methods
private SpecializedMethodManager()
public static int numSpecializedMethods()
public static void notifyTypeInstantiated(RVMType type)
type
- the type that was instantiatedpublic static void refreshSpecializedMethods(RVMType type)
type
- the type whose methods need to be refreshedprivate static void initializeSpecializedMethod(int id)
id
- id of the specialized