jeco.dmm.sim2.lib.allocator
Class SimpleSegregatedStorage

java.lang.Object
  extended by jeco.dmm.sim2.lib.allocator.Allocator
      extended by jeco.dmm.sim2.lib.allocator.SegregatedFreeList
          extended by jeco.dmm.sim2.lib.allocator.SimpleSegregatedStorage

public class SimpleSegregatedStorage
extends SegregatedFreeList

Author:
jlrisco

Field Summary
 
Fields inherited from class jeco.dmm.sim2.lib.allocator.Allocator
allowCoalescing, allowSplitting, freeLists, maxSizeInB, metrics, minSizeInB
 
Constructor Summary
SimpleSegregatedStorage(long minSizeInB, long maxSizeInB)
           
 
Method Summary
 void setup(FreeList.DATA_STRUCTURE dataStructure, FreeList.ALLOCATION_MECHANISM allocationMechanism, FreeList.ALLOCATION_POLICY allocationPolicy)
           
 
Methods inherited from class jeco.dmm.sim2.lib.allocator.SegregatedFreeList
malloc
 
Methods inherited from class jeco.dmm.sim2.lib.allocator.Allocator
add, canManage, getFreeLists, getMaxSizeInB, getMinSizeInB, isAllowCoalescing, isAllowSplitting, setMaxSizeInB, setMetrics, setMinSizeInB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSegregatedStorage

public SimpleSegregatedStorage(long minSizeInB,
                               long maxSizeInB)
Method Detail

setup

public void setup(FreeList.DATA_STRUCTURE dataStructure,
                  FreeList.ALLOCATION_MECHANISM allocationMechanism,
                  FreeList.ALLOCATION_POLICY allocationPolicy)
Overrides:
setup in class SegregatedFreeList