Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Allocator
Class DefaultHeapAllocator  view DefaultHeapAllocator download DefaultHeapAllocator.java

java.lang.Object
  extended byAllocator.DefaultHeapAllocator

public abstract class DefaultHeapAllocator
extends java.lang.Object

DefaultHeapAllocator

Version:
$Id: DefaultHeapAllocator.java,v 1.6 2003/05/12 10:04:52 joewhaley Exp $

Field Summary
static Clazz.jq_StaticMethod _allocateArray
           
static Clazz.jq_StaticMethod _allocateArrayAlign8
           
static Clazz.jq_StaticMethod _allocateObject
           
static Clazz.jq_StaticMethod _allocateObjectAlign8
           
 
Constructor Summary
DefaultHeapAllocator()
           
 
Method Summary
static java.lang.Object allocateArray(int length, int size, java.lang.Object vtable)
           
static java.lang.Object allocateArrayAlign8(int length, int size, java.lang.Object vtable)
           
static java.lang.Object allocateObject(int size, java.lang.Object vtable)
           
static java.lang.Object allocateObjectAlign8(int size, java.lang.Object vtable)
           
static void collect()
           
static HeapAllocator def()
           
static int freeMemory()
           
static void init()
           
static void processPtrField(Memory.Address a)
           
static int totalMemory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_allocateObject

public static final Clazz.jq_StaticMethod _allocateObject

_allocateObjectAlign8

public static final Clazz.jq_StaticMethod _allocateObjectAlign8

_allocateArray

public static final Clazz.jq_StaticMethod _allocateArray

_allocateArrayAlign8

public static final Clazz.jq_StaticMethod _allocateArrayAlign8
Constructor Detail

DefaultHeapAllocator

public DefaultHeapAllocator()
Method Detail

def

public static final HeapAllocator def()

init

public static final void init()
                       throws java.lang.OutOfMemoryError

allocateObject

public static final java.lang.Object allocateObject(int size,
                                                    java.lang.Object vtable)
                                             throws java.lang.OutOfMemoryError

allocateObjectAlign8

public static final java.lang.Object allocateObjectAlign8(int size,
                                                          java.lang.Object vtable)
                                                   throws java.lang.OutOfMemoryError

allocateArray

public static final java.lang.Object allocateArray(int length,
                                                   int size,
                                                   java.lang.Object vtable)
                                            throws java.lang.OutOfMemoryError,
                                                   java.lang.NegativeArraySizeException

allocateArrayAlign8

public static final java.lang.Object allocateArrayAlign8(int length,
                                                         int size,
                                                         java.lang.Object vtable)
                                                  throws java.lang.OutOfMemoryError,
                                                         java.lang.NegativeArraySizeException

freeMemory

public static final int freeMemory()

totalMemory

public static final int totalMemory()

collect

public static final void collect()

processPtrField

public static final void processPtrField(Memory.Address a)