jeco.dmm.simulator.layers.coalescing
Class CoalesceHeap
java.lang.Object
jeco.dmm.simulator.layers.AbstractHeap
jeco.dmm.simulator.layers.coalescing.CoalesceHeap
public class CoalesceHeap
- extends AbstractHeap
- Author:
- Rubén and Jose Luis
- See Also:
CoalesceableHeap.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
minSize
protected long minSize
maxSize
protected long maxSize
child
protected AbstractHeap child
CoalesceHeap
public CoalesceHeap(AbstractHeap child,
long minSize,
long maxSize)
free
public DMMBlock free(DMMData dataObject)
- Specified by:
free
in class AbstractHeap
coalesce
protected DMMBlock coalesce(DMMBlock first,
DMMBlock second)
malloc
public DMMBlock malloc(DMMData dataObject)
- Specified by:
malloc
in class AbstractHeap
split
protected DMMBlock split(DMMBlock block,
long requestedSize)
remove
public boolean remove(DMMData dataObject)
- Specified by:
remove
in class AbstractHeap