Interface ImageAddressSpace
- All Known Implementing Classes:
ImageAddressSpace
,J9DDRImageAddressSpace
,JCImageAddressSpace
public interface ImageAddressSpace
Represents a single address space within the image.
On some operating systems (e.g. z/OS), there can be more than one address space per core file and more than one process per address space.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the byte order of this address space.Get the process within this address space that caused the image to be created.getID()
Gets the system wide identifier for the address spaceGet the raw memory in the address space.getPointer
(long address) A factory method for creating pointers into this address space.Get the set of processes within the address space.Gets the OS specific properties for this address space.
-
Method Details
-
getCurrentProcess
ImageProcess getCurrentProcess()Get the process within this address space that caused the image to be created.- Returns:
- the process within this address space which caused the image to be created, if any. Return null if no individual process triggered the creation of the image.
-
getProcesses
Iterator getProcesses()Get the set of processes within the address space.- Returns:
- an iterator which provides all of the processes within a given address space.
- See Also:
-
getByteOrder
ByteOrder getByteOrder()Return the byte order of this address space.- Returns:
- the byte order of this address space
-
getPointer
A factory method for creating pointers into this address space.- Parameters:
address
- the address to point to.- Returns:
- an ImagePointer for the specified address.
-
getImageSections
Iterator getImageSections()Get the raw memory in the address space.- Returns:
- An iterator of all the ImageSections in the address. Their union will be the total process address space.
- See Also:
-
getID
Gets the system wide identifier for the address space- Returns:
- address space ID
- Throws:
DataUnavailable
CorruptDataException
- Since:
- 1.7
-
getProperties
Properties getProperties()Gets the OS specific properties for this address space.- Returns:
- a set of OS specific properties
- Since:
- 1.7
-