|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.specialization.SpecializedMethodPool
public final class SpecializedMethodPool
This class holds the static array of pointers to instructions of specialized methods
| Field Summary | |
|---|---|
private static int |
SPECIALIZED_METHOD_COUNT
|
(package private) static int |
specializedMethodCount
|
(package private) static ArchitectureSpecific.CodeArray[] |
specializedMethods
|
| Constructor Summary | |
|---|---|
SpecializedMethodPool()
|
|
| Method Summary | |
|---|---|
static int |
createSpecializedMethodID()
|
int |
getSpecializedMethodCount()
Return the number of specialized methods |
static void |
growSpecializedMethods()
Increase the capacity of the internal data structures to track specialized methods. |
static boolean |
hasCompiledVersion(int smid)
Is there a compiled version of a particular specialized method? |
(package private) static void |
registerCompiledMethod(SpecializedMethod m)
Register the specialized instructions for a method. |
static void |
storeSpecializedMethod(CompiledMethod cm,
int smid)
Associate a particular compiled method with a specialized method id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int SPECIALIZED_METHOD_COUNT
static int specializedMethodCount
static ArchitectureSpecific.CodeArray[] specializedMethods
| Constructor Detail |
|---|
public SpecializedMethodPool()
| Method Detail |
|---|
public int getSpecializedMethodCount()
static void registerCompiledMethod(SpecializedMethod m)
public static void storeSpecializedMethod(CompiledMethod cm,
int smid)
public static boolean hasCompiledVersion(int smid)
smid - public static int createSpecializedMethodID()
public static void growSpecializedMethods()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||