public abstract class ThreadLocalState extends Object
RVMThread
object.RVMThread
Constructor and Description |
---|
ThreadLocalState() |
Modifier and Type | Method and Description |
---|---|
static void |
boot()
The C bootstrap program has placed a pointer to the initial
RVMThread in ESI.
|
static void |
emitLoadThread(Assembler asm,
RegisterConstants.GPR base,
Offset offset)
Emit an instruction sequence to load current RVMThread
object from a location defined by [base]+offset
|
static RVMThread |
getCurrentThread() |
static void |
setCurrentThread(RVMThread p) |
public ThreadLocalState()
public static void boot()
public static RVMThread getCurrentThread()
public static void setCurrentThread(RVMThread p)
public static void emitLoadThread(Assembler asm, RegisterConstants.GPR base, Offset offset)
asm
- assembler objectbase
- number of base registeroffset
- offset