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

Quick Search    Search Deep

Allocator
Class FreeMemManager  view FreeMemManager download FreeMemManager.java

java.lang.Object
  extended byAllocator.FreeMemManager

public class FreeMemManager
extends java.lang.Object

FreeMemManager

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

Field Summary
private static FreeMemStrategy defaultStrategy
           
private static FreeMemStrategy strategy
           
 
Constructor Summary
FreeMemManager()
           
 
Method Summary
static void addFreeMem(MemUnit unit)
           
static Memory.Address getFreeMem(int size)
           
static void setFreeMemStrategy(FreeMemStrategy stg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultStrategy

private static FreeMemStrategy defaultStrategy

strategy

private static FreeMemStrategy strategy
Constructor Detail

FreeMemManager

public FreeMemManager()
Method Detail

setFreeMemStrategy

public static void setFreeMemStrategy(FreeMemStrategy stg)

addFreeMem

public static void addFreeMem(MemUnit unit)

getFreeMem

public static Memory.Address getFreeMem(int size)