|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jeco.dmm.sim2.lib.Simulator
jeco.dmm.sim2.lib.SimulatorWithReliabilityV1
public class SimulatorWithReliabilityV1
This simulator considers reliability, but just with "new after delete": If the last operation is "delete" and the current operation is "new", then the hottest block is declared as the last "delete". Thus, the new block is allocated as far as possible of the last one. This algorithm just work if the "FARTHEST" policy has been set in some of the allocators of the DMM.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected Block |
lastDelete
|
Fields inherited from class jeco.dmm.sim2.lib.Simulator |
---|
manager, metrics, profilingReport, tracePath |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SimulatorWithReliabilityV1(ProfilingReport profilingReport,
DynamicMemoryManager manager,
java.lang.String tracePath)
|
Method Summary | |
---|---|
protected void |
processLine(java.lang.String line)
|
Methods inherited from class jeco.dmm.sim2.lib.Simulator |
---|
drawAllocatorMap, getMetrics, initialize, run, simulate |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Block lastDelete
Constructor Detail |
---|
public SimulatorWithReliabilityV1(ProfilingReport profilingReport, DynamicMemoryManager manager, java.lang.String tracePath)
Method Detail |
---|
protected void processLine(java.lang.String line) throws java.io.IOException
processLine
in class Simulator
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |