Interface TraceMemorySpace

All Superinterfaces:
TraceMemoryOperations
All Known Implementing Classes:
DBTraceMemorySpace

public interface TraceMemorySpace extends TraceMemoryOperations
A portion of the memory manager bound to a particular address space

For most memory operations, the methods on TraceMemoryManager are sufficient, as they will automatically obtain the appropriate TraceMemorySpace for the address space of the given address or range. If many operations on the same space are anticipated, it may be slightly faster to bind to the space once and then perform all the operations. It is also necessary to bind when operating on (per-thread) register spaces

  • Method Details

    • getAddressSpace

      AddressSpace getAddressSpace()
      Get the address space
      Returns:
      the address space
    • getCodeSpace

      TraceCodeSpace getCodeSpace(boolean createIfAbsent)
      Get the code space for this memory space

      This is a convenience for TraceCodeManager.getCodeSpace(AddressSpace, boolean) on this same address space.

      Parameters:
      createIfAbsent - true to create the space if it's not already present
      Returns:
      the code space