Class MemoryPageOverlay

Direct Known Subclasses:
FilteredMemoryPageOverlay

public class MemoryPageOverlay extends MemoryPageBank
Memory bank that overlays some other memory bank, using a "copy on write" behavior.

Pages are copied from the underlying object only when there is a write. The underlying access routines are overridden to make optimal use of this page implementation. The underlying memory bank can be a null pointer in which case, this memory bank behaves as if it were initially filled with zeros.

  • Field Details

  • Constructor Details

    • MemoryPageOverlay

      public MemoryPageOverlay(AddressSpace spc, MemoryBank ul, MemoryFaultHandler faultHandler)
      A page overlay memory bank needs all the parameters for a generic memory bank and it needs to know the underlying memory bank being overlayed.
      Parameters:
      spc - is the address space associated with the memory bank
      ul - is the underlying MemoryBank
      faultHandler -
  • Method Details