|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.jni.FunctionTable
public final class FunctionTable
This class holds a JNI function table, at runtime it is an array with CodeArray elements
| Field Summary | |
|---|---|
private ArchitectureSpecific.CodeArray[] |
data
The backing data used during boot image writing. |
| Constructor Summary | |
|---|---|
private |
FunctionTable(int size)
Private constructor. |
| Method Summary | |
|---|---|
static FunctionTable |
allocate(int size)
Create a new ITable of the specified size. |
ArchitectureSpecific.CodeArray |
get(int index)
Get an ITable entry. |
ArchitectureSpecific.CodeArray[] |
getBacking()
Return the backing array (for boot image writing) |
int |
length()
Return the length of the ITable |
void |
set(int index,
ArchitectureSpecific.CodeArray value)
Set an ITable entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final ArchitectureSpecific.CodeArray[] data
| Constructor Detail |
|---|
private FunctionTable(int size)
| Method Detail |
|---|
public static FunctionTable allocate(int size)
size - The size of the ITable
public ArchitectureSpecific.CodeArray[] getBacking()
getBacking in interface RuntimeTable<ArchitectureSpecific.CodeArray>public ArchitectureSpecific.CodeArray get(int index)
get in interface RuntimeTable<ArchitectureSpecific.CodeArray>index - The index of the entry to get
public void set(int index,
ArchitectureSpecific.CodeArray value)
set in interface RuntimeTable<ArchitectureSpecific.CodeArray>index - The index of the entry to setvalue - The value to set the entry to.public int length()
length in interface RuntimeTable<ArchitectureSpecific.CodeArray>
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||