|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JHeapAllocator
A JHeapAllocator represents an allocator for the memory heap.
| Method Summary | |
|---|---|
JArray |
allocateArray(JClass componentType,
int length)
Returns a new allocated array with the specified component type and length. |
JArray |
allocateArray(JClass componentType,
int[] dimensions)
Returns a new allocated array with the specified component type and dimensions. |
JClassInstance |
allocateClassInstance(JClass c)
Returns a new allocated class instance of the specified type. |
JavaStack |
allocateJavaStack(int size)
Returns a new allocated Java stack of the specified number of bytes. |
void |
moveAllocatables(JHeap src,
JHeap dest)
|
| Methods inherited from interface fr.umlv.corosol.component.JVMComponent |
|---|
configure, getComponentClass, replace |
| Method Detail |
|---|
JClassInstance allocateClassInstance(JClass c)
c - the class to be instanciated
JArray allocateArray(JClass componentType,
int length)
componentType - the JClass object representing the component
type of the new arraylength - the length of the new array
JArray allocateArray(JClass componentType,
int[] dimensions)
componentType - the JClass object representing the component
type of the new arraydimensions - an array of int types representing the dimensions
of the new array
JavaStack allocateJavaStack(int size)
size - the size of the newly allocated Java stack in bytes
void moveAllocatables(JHeap src,
JHeap dest)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||