|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.runtimesupport.OptSaveVolatile
public class OptSaveVolatile
Contains routines that must be compiled with special prologues and eplilogues that save/restore all registers (both volatile and non-volatile).
TODO: Instead of SaveVolatile, make this class implement DynamicBridge...will allow us to kill support for SaveVolatile!.
ISSUE: GCMapping for dynamic bridge assumes that it is being used for lazy method compilation. Need to generalize to support opt's use for other purposes.
(hooks to recognize & specially compile this class)
Constructor Summary | |
---|---|
OptSaveVolatile()
|
Method Summary | |
---|---|
static void |
resolve()
Wrapper to save/restore volatile registers when a class needs to be dynamically loaded/resolved/etc. |
static void |
yieldpointFromBackedge()
Handle timer interrupt taken on loop backedge. |
static void |
yieldpointFromEpilogue()
Handle timer interrupt taken in method epilogue. |
static void |
yieldpointFromNativeEpilogue()
Handle timer interrupt taken in the epilogue of a native method. |
static void |
yieldpointFromNativePrologue()
Handle timer interrupt taken in the prologue of a native method. |
static void |
yieldpointFromOsrOpt()
OSR invalidation being initiated. |
static void |
yieldpointFromPrologue()
Handle timer interrupt taken in method prologue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptSaveVolatile()
Method Detail |
---|
public static void yieldpointFromPrologue()
public static void yieldpointFromEpilogue()
public static void yieldpointFromBackedge()
public static void yieldpointFromNativePrologue()
public static void yieldpointFromNativeEpilogue()
public static void yieldpointFromOsrOpt()
public static void resolve() throws NoClassDefFoundError
NoClassDefFoundError
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |