Speicher
Class BeladysAnomaly

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--Speicher.ReferenceString
                          |
                          +--Speicher.BeladysAnomaly
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable

public class BeladysAnomaly
extends ReferenceString

This is a predefined static referenceString to explain Belady's anomaly. When the number of frames is 4, the page fault rate of this referenceString (and the number of misses) is higher than with only 3 frames!

See Also:
Serialized Form

Field Summary
static java.lang.String NAME
          Name of this reference String.
private static ReferenceString referenceString
          Values of the reference String Belady's Anomalie
 
Fields inherited from class Speicher.ReferenceString
actualReferenceIndex
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData, serialVersionUID
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
BeladysAnomaly()
           
 
Method Summary
static ReferenceString getReferenceString()
          Returns a referenceString, that shows the effects of Belady's anomaly with 3 and 4 frames
 
Methods inherited from class Speicher.ReferenceString
appendReference, createRandom, getActualReference, getActualReferenceText, getFirstAccessTime, getNextReference, getReference, isInitial, resetActualReferenceIndex, resize, setReference
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

NAME

public static final java.lang.String NAME
Name of this reference String.

referenceString

private static ReferenceString referenceString
Values of the reference String Belady's Anomalie
Constructor Detail

BeladysAnomaly

public BeladysAnomaly()
Method Detail

getReferenceString

public static ReferenceString getReferenceString()
Returns a referenceString, that shows the effects of Belady's anomaly with 3 and 4 frames