jeco.dmm.sim2.lib.allocator
Class ExactSegregatedFit

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.SegregatedFit
              extended by jeco.dmm.sim2.lib.allocator.ExactSegregatedFit

public class ExactSegregatedFit
extends SegregatedFit

Author:
jlrisco

Field Summary
protected  java.util.TreeSet<java.lang.Long> sizesInB
           
 
Fields inherited from class jeco.dmm.sim2.lib.allocator.Allocator
allowCoalescing, allowSplitting, freeLists, maxSizeInB, metrics, minSizeInB
 
Constructor Summary
ExactSegregatedFit(long minSizeInB, long maxSizeInB, java.util.TreeSet<java.lang.Long> sizesInB)
           
 
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
 

Field Detail

sizesInB

protected java.util.TreeSet<java.lang.Long> sizesInB
Constructor Detail

ExactSegregatedFit

public ExactSegregatedFit(long minSizeInB,
                          long maxSizeInB,
                          java.util.TreeSet<java.lang.Long> sizesInB)
Method Detail

setup

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