Class J9DDRImageSection

java.lang.Object
com.ibm.j9ddr.view.dtfj.image.J9DDRImageSection
All Implemented Interfaces:
ImageSection

public class J9DDRImageSection extends Object implements ImageSection
  • Constructor Details

    • J9DDRImageSection

      public J9DDRImageSection(IProcess proc, long address, String name)
    • J9DDRImageSection

      public J9DDRImageSection(IProcess proc, long address, long size, String name)
  • Method Details

    • getBaseAddress

      public J9DDRImagePointer getBaseAddress()
      Description copied from interface: ImageSection
      Gets the base address (the lowest) of memory in this section.
      Specified by:
      getBaseAddress in interface ImageSection
      Returns:
      Base address pointer.
    • getName

      public String getName()
      Description copied from interface: ImageSection
      Gets the name of this section. Some memory sections are named. For example, the executable data in a module is typically called ".text". For memory sections without a specific name, a placeholder string will be returned. This method will never return null.
      Specified by:
      getName in interface ImageSection
      Returns:
      non-null name String.
    • getSize

      public long getSize()
      Description copied from interface: ImageSection
      Gets the size of the memory section.
      Specified by:
      getSize in interface ImageSection
      Returns:
      Size of section in bytes.
    • isExecutable

      public boolean isExecutable() throws DataUnavailable
      Description copied from interface: ImageSection
      Tests executable permission on memory section.
      Specified by:
      isExecutable in interface ImageSection
      Returns:
      true if the memory pages in this section are marked executable. False otherwise.
      Throws:
      DataUnavailable
    • isReadOnly

      public boolean isReadOnly() throws DataUnavailable
      Description copied from interface: ImageSection
      Tests read permission on memory section.
      Specified by:
      isReadOnly in interface ImageSection
      Returns:
      true if the memory pages in this section are marked read-only. False otherwise.
      Throws:
      DataUnavailable
    • isShared

      public boolean isShared() throws DataUnavailable
      Description copied from interface: ImageSection
      Tests shared permission on memory section.
      Specified by:
      isShared in interface ImageSection
      Returns:
      true if this section is shared between processes. False otherwise.
      Throws:
      DataUnavailable
    • getProperties

      public Properties getProperties()
      Description copied from interface: ImageSection
      Get the OS-specific properties for this section.
      Specified by:
      getProperties in interface ImageSection
      Returns:
      a table of OS-specific properties for this section. Values which are commonly available include
      • "readable" -- whether the memory section can be read from
      • "writable" -- whether the memory section can be written to
      • "executable" -- whether data in the memory section can be executed
    • setSize

      public void setSize(long size)