|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjeco.dmm.sim2.lib.allocator.Allocator
jeco.dmm.sim2.lib.allocator.SegregatedFreeList
jeco.dmm.sim2.lib.allocator.SegregatedFit
jeco.dmm.sim2.lib.allocator.StrictSegregatedFit
jeco.dmm.sim2.lib.allocator.Kingsley
public class Kingsley
Field Summary |
---|
Fields inherited from class jeco.dmm.sim2.lib.allocator.Allocator |
---|
allowCoalescing, allowSplitting, freeLists, maxSizeInB, metrics, minSizeInB |
Constructor Summary | |
---|---|
Kingsley()
|
|
Kingsley(FreeList.ALLOCATION_MECHANISM allocationMechanism)
|
Method Summary | |
---|---|
Block |
coalesce(long sizeInB)
|
int |
computeFreeListIndex(long sizeInB)
|
Block |
split(long sizeInB)
|
Methods inherited from class jeco.dmm.sim2.lib.allocator.StrictSegregatedFit |
---|
malloc |
Methods inherited from class jeco.dmm.sim2.lib.allocator.SegregatedFreeList |
---|
setup |
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 |
---|
public Kingsley(FreeList.ALLOCATION_MECHANISM allocationMechanism)
public Kingsley()
Method Detail |
---|
public int computeFreeListIndex(long sizeInB)
computeFreeListIndex
in class StrictSegregatedFit
public Block coalesce(long sizeInB)
coalesce
in class StrictSegregatedFit
public Block split(long sizeInB)
split
in class StrictSegregatedFit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |