jeco.dmm.simulator.layers.coalescing
Class CoalesceableHeap

java.lang.Object
  extended by jeco.dmm.simulator.layers.AbstractHeap
      extended by jeco.dmm.simulator.layers.coalescing.CoalesceableHeap

public class CoalesceableHeap
extends AbstractHeap

This class modify the blocks returned by the main memory to support coalescing and splitting


Field Summary
protected  AbstractHeap child
           
 
Fields inherited from class jeco.dmm.simulator.layers.AbstractHeap
header
 
Constructor Summary
CoalesceableHeap(AbstractHeap child)
           
 
Method Summary
 DMMBlock free(DMMData dataObject)
           
 DMMBlock malloc(DMMData dataObject)
           
 boolean remove(DMMData dataObject)
           
 
Methods inherited from class jeco.dmm.simulator.layers.AbstractHeap
getHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

child

protected AbstractHeap child
Constructor Detail

CoalesceableHeap

public CoalesceableHeap(AbstractHeap child)
Method Detail

free

public DMMBlock free(DMMData dataObject)
Specified by:
free in class AbstractHeap

malloc

public DMMBlock malloc(DMMData dataObject)
Specified by:
malloc in class AbstractHeap

remove

public boolean remove(DMMData dataObject)
Specified by:
remove in class AbstractHeap