com.ibm.dtfj.image

Interface ImageSection

All known subinterfaces:
JavaRuntimeMemorySection

  1. public interface ImageSection
Represents a contiguous range of memory in an address space.

Method Summary

Modifier and Type Method and Description
  1. ImagePointer
getBaseAddress()
Gets the base address (the lowest) of memory in this section.
  1. java.lang.String
getName()
Gets the name of this section.
  1. long
getSize()
Gets the size of the memory section.
  1. boolean
isExecutable()
Tests executable permission on memory section.
  1. boolean
isReadOnly()
Tests read permission on memory section.
  1. boolean
isShared()
Tests shared permission on memory section.

Method Detail

getBaseAddress

  1. ImagePointer getBaseAddress()
Gets the base address (the lowest) of memory in this section.
Returns:
Base address pointer.

getSize

  1. long getSize()
Gets the size of the memory section.
Returns:
Size of section in bytes.

getName

  1. java.lang.String getName()
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.
Returns:
non-null name String.

isExecutable

  1. boolean isExecutable()
  2. throws DataUnavailable
Tests executable permission on memory section.
Returns:
true if the memory pages in this section are marked executable. False otherwise.
Throws:

isReadOnly

  1. boolean isReadOnly()
  2. throws DataUnavailable
Tests read permission on memory section.
Returns:
true if the memory pages in this section are marked read-only. False otherwise.
Throws:

isShared

  1. boolean isShared()
  2. throws DataUnavailable
Tests shared permission on memory section.
Returns:
true if this section is shared between processes. False otherwise.
Throws: