Module openj9.dtfj
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
ConstructorsConstructorDescriptionDTFJGenericJavaRuntimeMemorySection(long baseAddress, long size, int allocationType, String name, String allocator, JavaRuntimeMemoryCategory category) -
Method Summary
Modifier and TypeMethodDescriptionintGet memory allocation type code.Returns string describing the code that allocated this memory section.protected longReturns memory category this section was allocated under.getName()Gets the name of this section.longgetSize()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:JavaRuntimeMemorySectionGet memory allocation type code.- Returns:
- Type code.
-
getAllocator
Description copied from interface:JavaRuntimeMemorySectionReturns string describing the code that allocated this memory section.- Returns:
- Allocator string.
- Throws:
CorruptDataExceptionDataUnavailable
-
getMemoryCategory
Description copied from interface:JavaRuntimeMemorySectionReturns memory category this section was allocated under.- Returns:
- Memory category.
- Throws:
CorruptDataExceptionDataUnavailable
-
getName
Description copied from interface:ImageSectionGets 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:ImageSectionGets the size of the memory section.- Returns:
- Size of section in bytes.
-