public class HotSpotRegisters extends Object implements HotSpotRegistersProvider
Modifier and Type | Field and Description |
---|---|
private Register |
heapBaseRegister |
private Register |
stackPointerRegister |
private Register |
threadRegister |
Constructor and Description |
---|
HotSpotRegisters(Register threadRegister,
Register heapBaseRegister,
Register stackPointerRegister) |
Modifier and Type | Method and Description |
---|---|
Register |
getHeapBaseRegister()
Gets the register holding the heap base address for compressed pointers.
|
Register |
getStackPointerRegister()
Gets the stack pointer register.
|
Register |
getThreadRegister()
Gets the register holding the current thread.
|
private final Register threadRegister
private final Register heapBaseRegister
private final Register stackPointerRegister
public HotSpotRegisters(Register threadRegister, Register heapBaseRegister, Register stackPointerRegister)
public Register getThreadRegister()
HotSpotRegistersProvider
getThreadRegister
in interface HotSpotRegistersProvider
public Register getHeapBaseRegister()
HotSpotRegistersProvider
getHeapBaseRegister
in interface HotSpotRegistersProvider
public Register getStackPointerRegister()
HotSpotRegistersProvider
getStackPointerRegister
in interface HotSpotRegistersProvider