Package | Description |
---|---|
org.jikesrvm.classloader |
Provides classes that implement the classloading system as well as
data types that represent Java entities like classes, fields, methods
and primitives.
|
org.jikesrvm.compilers.baseline | |
org.jikesrvm.compilers.common | |
org.jikesrvm.compilers.common.assembler | |
org.jikesrvm.compilers.common.assembler.ia32 | |
org.jikesrvm.compilers.opt.ir | |
org.jikesrvm.compilers.opt.specialization | |
org.jikesrvm.ia32 | |
org.jikesrvm.jni | |
org.jikesrvm.mm.mminterface | |
org.jikesrvm.objectmodel | |
org.jikesrvm.runtime | |
org.jikesrvm.scheduler |
Modifier and Type | Method and Description |
---|---|
CodeArray |
RVMMethod.getCurrentEntryCodeArray()
Get the code array that corresponds to the entry point (prologue)
for the method.
|
static CodeArray |
InterfaceInvocation.invokeInterface(Object target,
int mid)
Resolve an interface method call.
|
abstract CodeArray |
SpecializedMethod.specializeMethod(RVMType type) |
Modifier and Type | Method and Description |
---|---|
private void |
InterfaceInvocation.IMTDict.set(TIB tib,
IMT imt,
int extSlot,
CodeArray value) |
void |
RVMType.setSpecializedMethod(int id,
CodeArray code) |
Modifier and Type | Field and Description |
---|---|
private CodeArray |
TemplateCompilerFramework.MachineCode.instructions |
Modifier and Type | Method and Description |
---|---|
CodeArray |
TemplateCompilerFramework.MachineCode.getInstructions() |
Constructor and Description |
---|
MachineCode(CodeArray i,
int[] bcm) |
Modifier and Type | Field and Description |
---|---|
protected CodeArray |
CompiledMethod.instructions
The compiled machine code for said method.
|
Modifier and Type | Method and Description |
---|---|
CodeArray |
CompiledMethod.codeArrayForOffset(Offset offset)
Return the code array for this method that contains the given offset.
|
static CodeArray |
CodeArray.Factory.create(int numInstrs,
boolean isHot)
Allocate a code array big enough to contain numInstrs instructions.
|
(package private) static CodeArray |
CodeArray.BootImageCreate.create(int numInstrs,
boolean isHot) |
CodeArray |
CompiledMethod.getEntryCodeArray() |
static CodeArray |
LazyCompilationTrampoline.getInstructions() |
Modifier and Type | Method and Description |
---|---|
void |
CompiledMethod.compileComplete(CodeArray code)
Records that the compilation is complete.
|
Modifier and Type | Method and Description |
---|---|
abstract CodeArray |
AbstractAssembler.getMachineCodes() |
Modifier and Type | Method and Description |
---|---|
CodeArray |
Assembler.getMachineCodes()
Return a copy of the generated code as a CodeArray.
|
Modifier and Type | Method and Description |
---|---|
static void |
Assembler.patchCode(CodeArray code,
int patchOffset,
int rel32)
Apply a patch.
|
Modifier and Type | Field and Description |
---|---|
CodeArray |
MIRInfo.machinecode
The generated machinecodes produced by this compilation of 'method'
|
Modifier and Type | Field and Description |
---|---|
(package private) static CodeArray[] |
SpecializedMethodPool.specializedMethods |
Modifier and Type | Field and Description |
---|---|
static CodeArray |
LazyCompilationTrampoline.instructions |
private static CodeArray |
OutOfLineMachineCode.pcThunkEAXInstructions |
private static CodeArray |
OutOfLineMachineCode.pcThunkEBPInstructions |
private static CodeArray |
OutOfLineMachineCode.pcThunkEBXInstructions |
private static CodeArray |
OutOfLineMachineCode.pcThunkECXInstructions |
private static CodeArray |
OutOfLineMachineCode.pcThunkEDIInstructions |
private static CodeArray |
OutOfLineMachineCode.pcThunkEDXInstructions |
private static CodeArray |
OutOfLineMachineCode.pcThunkESIInstructions |
private static CodeArray |
OutOfLineMachineCode.reflectiveMethodInvokerInstructions |
private static CodeArray |
OutOfLineMachineCode.restoreHardwareExceptionStateInstructions |
private static CodeArray |
OutOfLineMachineCode.saveThreadStateInstructions |
private static CodeArray |
OutOfLineMachineCode.threadSwitchInstructions |
Modifier and Type | Method and Description |
---|---|
static CodeArray |
InterfaceMethodConflictResolver.createStub(int[] sigIds,
RVMMethod[] targets) |
private static CodeArray |
OutOfLineMachineCode.generateReflectiveMethodInvokerInstructions()
Machine code for reflective method invocation.
|
private static CodeArray |
OutOfLineMachineCode.generateRestoreHardwareExceptionStateInstructions()
Machine code to implement "Magic.restoreHardwareExceptionState()".
|
private static CodeArray |
OutOfLineMachineCode.generateSaveThreadStateInstructions()
Machine code to implement "Magic.saveThreadState()".
|
private static CodeArray |
OutOfLineMachineCode.generateStackTrampolineBridgeInstructions()
Machine code to perform a stack trampoline bridge for
implementing a return barrier.
|
private static CodeArray |
OutOfLineMachineCode.generateThreadSwitchInstructions()
Machine code to implement "Magic.threadSwitch()".
|
Modifier and Type | Field and Description |
---|---|
private CodeArray[] |
FunctionTable.data
The backing data used during boot image writing.
|
Modifier and Type | Method and Description |
---|---|
CodeArray |
FunctionTable.get(int index)
Get an ITable entry.
|
CodeArray[] |
FunctionTable.getBacking() |
Modifier and Type | Method and Description |
---|---|
void |
FunctionTable.set(int index,
CodeArray value)
Set an ITable entry.
|
Modifier and Type | Method and Description |
---|---|
static CodeArray |
MemoryManager.allocateCode(int numInstrs,
boolean isHot)
Allocate a CodeArray into a code space.
|
CodeArray |
SpecializedScanMethod.specializeMethod(RVMType type)
TODO: Lazily compile specialized methods?
|
Modifier and Type | Field and Description |
---|---|
private CodeArray[] |
IMT.data
The backing data used during boot image writing.
|
Modifier and Type | Method and Description |
---|---|
CodeArray |
IMT.get(int index)
Gets an entry in the IMT.
|
CodeArray[] |
IMT.getBacking() |
CodeArray |
ITable.getCode(int index)
Gets the code array at the given index.
|
CodeArray |
TIB.getVirtualMethod(int virtualMethodIndex)
Gets a virtual method from this TIB.
|
CodeArray |
TIB.getVirtualMethod(Offset virtualMethodOffset) |
Modifier and Type | Method and Description |
---|---|
void |
IMT.set(int index,
CodeArray value)
Sets an entry in the IMT.
|
void |
TIB.setSpecializedMethod(int specializedMethodIndex,
CodeArray code) |
void |
TIB.setVirtualMethod(int virtualMethodIndex,
CodeArray code)
Set a virtual method in this TIB.
|
void |
TIB.setVirtualMethod(Offset virtualMethodOffset,
CodeArray code) |
Modifier and Type | Method and Description |
---|---|
static Object |
Magic.codeArrayAsObject(CodeArray code)
Cast bits of code array into an object
Note: for use by Statics when assigning slots to static method pointers
|
static void |
Magic.dynamicBridgeTo(CodeArray instructions)
Transfer execution to target of a dynamic bridge method.
|
static void |
Magic.invokeClassInitializer(CodeArray clinit)
Call <clinit> method with no argument list
|
static double |
Magic.invokeMethodReturningDouble(CodeArray code,
WordArray gprs,
double[] fprs,
byte[] fprmeta,
WordArray spills) |
static float |
Magic.invokeMethodReturningFloat(CodeArray code,
WordArray gprs,
double[] fprs,
byte[] fprmeta,
WordArray spills) |
static int |
Magic.invokeMethodReturningInt(CodeArray code,
WordArray gprs,
double[] fprs,
byte[] fprmeta,
WordArray spills) |
static long |
Magic.invokeMethodReturningLong(CodeArray code,
WordArray gprs,
double[] fprs,
byte[] fprmeta,
WordArray spills) |
static Object |
Magic.invokeMethodReturningObject(CodeArray code,
WordArray gprs,
double[] fprs,
byte[] fprmeta,
WordArray spills) |
static void |
Magic.invokeMethodReturningVoid(CodeArray code,
WordArray gprs,
double[] fprs,
byte[] fprmeta,
WordArray spills) |
static void |
Statics.setSlotContents(Offset offset,
CodeArray code)
Set contents of a slot, as a CodeArray.
|
Modifier and Type | Field and Description |
---|---|
CodeArray |
RVMThread.bridgeInstructions
Before call new instructions, we need a bridge to recover register states
from the stack frame.
|
static CodeArray |
RVMThread.stackTrampolineBridgeInstructions
pointer to bridge code for return barrier trampoline
|