public class OptSaveVolatile extends Object
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.
Constructor and Description |
---|
OptSaveVolatile() |
Modifier and Type | Method and Description |
---|---|
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.
|
public OptSaveVolatile()
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