public final class SpecializedMethodPool extends Object
| Modifier and Type | Field and Description |
|---|---|
private static int |
SPECIALIZED_METHOD_COUNT |
(package private) static int |
specializedMethodCount |
(package private) static CodeArray[] |
specializedMethods |
| Constructor and Description |
|---|
SpecializedMethodPool() |
| Modifier and Type | Method and Description |
|---|---|
static int |
createSpecializedMethodID() |
int |
getSpecializedMethodCount() |
static void |
growSpecializedMethods()
Increase the capacity of the internal data structures to track
specialized methods.
|
static boolean |
hasCompiledVersion(int smid) |
(package private) static void |
registerCompiledMethod(SpecializedMethod m) |
static void |
storeSpecializedMethod(CompiledMethod cm,
int smid)
Associates a particular compiled method with a specialized method id.
|
private static final int SPECIALIZED_METHOD_COUNT
static int specializedMethodCount
static CodeArray[] specializedMethods
public SpecializedMethodPool()
public int getSpecializedMethodCount()
static void registerCompiledMethod(SpecializedMethod m)
public static void storeSpecializedMethod(CompiledMethod cm, int smid)
cm - the compiled methodsmid - the id of the specialized methodpublic static boolean hasCompiledVersion(int smid)
smid - the id of the specialized methodpublic static int createSpecializedMethodID()
public static void growSpecializedMethods()