Class MemoryPageOverlay

Direct Known Subclasses:
FilteredMemoryPageOverlay

@Deprecated(since="12.1", forRemoval=true) public class MemoryPageOverlay extends MemoryPageBank
Deprecated, for removal: This API element is subject to removal in a future version.
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

    • underlie

      protected MemoryBank underlie
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • MemoryPageOverlay

      public MemoryPageOverlay(AddressSpace spc, MemoryBank ul, MemoryFaultHandler faultHandler)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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

    • getPage

      protected MemoryPage getPage(long addr)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getPage in class MemoryPageBank