Class DTFJGenericJavaRuntimeMemorySection
java.lang.Object
com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaRuntimeMemorySectionBase
com.ibm.j9ddr.vm29.view.dtfj.java.DTFJGenericJavaRuntimeMemorySection
- All Implemented Interfaces:
ImageSection
,JavaRuntimeMemorySection
JavaRuntimeMemorySection used for everything but J9MemTag sections.
- See Also:
-
Field Summary
Fields declared in interface com.ibm.dtfj.java.JavaRuntimeMemorySection
ALLOCATION_TYPE_MALLOC_FREED, ALLOCATION_TYPE_MALLOC_LIVE, ALLOCATION_TYPE_MEMORY_MAPPED_FILE, ALLOCATION_TYPE_SHARED_MEMORY, ALLOCATION_TYPE_VIRTUAL_ALLOC
-
Constructor Summary
ConstructorDescriptionDTFJGenericJavaRuntimeMemorySection
(long baseAddress, long size, int allocationType, String name, String allocator, JavaRuntimeMemoryCategory category) -
Method Summary
Modifier and TypeMethodDescriptionint
Get memory allocation type code.Returns string describing the code that allocated this memory section.protected long
Returns memory category this section was allocated under.getName()
Gets the name of this section.long
getSize()
Gets the size of the memory section.Methods declared in class com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaRuntimeMemorySectionBase
getBaseAddress, getProperties, isExecutable, isReadOnly, isShared
-
Constructor Details
-
DTFJGenericJavaRuntimeMemorySection
public DTFJGenericJavaRuntimeMemorySection(long baseAddress, long size, int allocationType, String name, String allocator, JavaRuntimeMemoryCategory category)
-
-
Method Details
-
getBaseAddressAsLong
protected long getBaseAddressAsLong() -
getAllocationType
public int getAllocationType()Description copied from interface:JavaRuntimeMemorySection
Get memory allocation type code.- Returns:
- Type code.
-
getAllocator
Description copied from interface:JavaRuntimeMemorySection
Returns string describing the code that allocated this memory section.- Returns:
- Allocator string.
- Throws:
CorruptDataException
DataUnavailable
-
getMemoryCategory
Description copied from interface:JavaRuntimeMemorySection
Returns memory category this section was allocated under.- Returns:
- Memory category.
- Throws:
CorruptDataException
DataUnavailable
-
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.- Returns:
- non-null name String.
-
getSize
public long getSize()Description copied from interface:ImageSection
Gets the size of the memory section.- Returns:
- Size of section in bytes.
-