Class ImageSection
java.lang.Object
com.ibm.dtfj.image.j9.ImageSection
- All Implemented Interfaces:
ImageSection
- Direct Known Subclasses:
BytecodeImageSection
,JitImageSection
,ModuleImageSection
,RawImageSection
,StackImageSection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the base address (the lowest) of memory in this section.Get the OS-specific properties for this section.long
getSize()
Gets the size of the memory section.boolean
Tests executable permission on memory section.boolean
Tests read permission on memory section.boolean
isShared()
Tests shared permission on memory section.Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface com.ibm.dtfj.image.ImageSection
getName
-
Constructor Details
-
ImageSection
-
-
Method Details
-
getBaseAddress
Description copied from interface:ImageSection
Gets the base address (the lowest) of memory in this section.- Specified by:
getBaseAddress
in interfaceImageSection
- Returns:
- Base address pointer.
-
getSize
public long getSize()Description copied from interface:ImageSection
Gets the size of the memory section.- Specified by:
getSize
in interfaceImageSection
- Returns:
- Size of section in bytes.
-
isExecutable
Description copied from interface:ImageSection
Tests executable permission on memory section.- Specified by:
isExecutable
in interfaceImageSection
- Returns:
- true if the memory pages in this section are marked executable. False otherwise.
- Throws:
DataUnavailable
-
isReadOnly
Description copied from interface:ImageSection
Tests read permission on memory section.- Specified by:
isReadOnly
in interfaceImageSection
- Returns:
- true if the memory pages in this section are marked read-only. False otherwise.
- Throws:
DataUnavailable
-
getProperties
Description copied from interface:ImageSection
Get the OS-specific properties for this section.- Specified by:
getProperties
in interfaceImageSection
- 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
-