java.lang.Object
com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaRuntimeMemoryCategory
- All Implemented Interfaces:
JavaRuntimeMemoryCategory
-
Constructor Summary
ConstructorsConstructorDescriptionDTFJJavaRuntimeMemoryCategory(JavaRuntime runtime, com.ibm.j9ddr.vm29.pointer.generated.OMRMemCategoryPointer category) -
Method Summary
Modifier and TypeMethodDescriptionIterator<?> Gets iterator of child categories.longGets number of allocations recorded against this category, and all children of this category.longGets number of bytes recorded against this category, and all children of this category.Iterator<?> getMemorySections(boolean includeFreed) Gets iterator of memory sections allocated against this category.getName()Gets the name of this category.longGets number of allocations recorded against this category.longGets number of bytes allocated under this category.
-
Constructor Details
-
DTFJJavaRuntimeMemoryCategory
public DTFJJavaRuntimeMemoryCategory(JavaRuntime runtime, com.ibm.j9ddr.vm29.pointer.generated.OMRMemCategoryPointer category)
-
-
Method Details
-
getChildren
Description copied from interface:JavaRuntimeMemoryCategoryGets iterator of child categories.- Specified by:
getChildrenin interfaceJavaRuntimeMemoryCategory- Returns:
- Iterator of JavaRuntimeMemoryCategory objects that are immediate children of this category.
- Throws:
CorruptDataException
-
getDeepAllocations
Description copied from interface:JavaRuntimeMemoryCategoryGets number of allocations recorded against this category, and all children of this category.- Specified by:
getDeepAllocationsin interfaceJavaRuntimeMemoryCategory- Returns:
- Allocation count.
- Throws:
CorruptDataException
-
getDeepBytes
Description copied from interface:JavaRuntimeMemoryCategoryGets number of bytes recorded against this category, and all children of this category.- Specified by:
getDeepBytesin interfaceJavaRuntimeMemoryCategory- Returns:
- Number of bytes.
- Throws:
CorruptDataException
-
getMemorySections
public Iterator<?> getMemorySections(boolean includeFreed) throws CorruptDataException, DataUnavailable Description copied from interface:JavaRuntimeMemoryCategoryGets iterator of memory sections allocated against this category.- Specified by:
getMemorySectionsin interfaceJavaRuntimeMemoryCategory- Parameters:
includeFreed- If true, iterator will iterate over blocks of memory that have been freed, but haven't been re-used yet.- Returns:
- Iterator of memory sections
- Throws:
CorruptDataExceptionDataUnavailable- See Also:
-
getName
Description copied from interface:JavaRuntimeMemoryCategoryGets the name of this category. E.g. "Classes".- Specified by:
getNamein interfaceJavaRuntimeMemoryCategory- Returns:
- Name string.
- Throws:
CorruptDataException
-
getShallowAllocations
Description copied from interface:JavaRuntimeMemoryCategoryGets number of allocations recorded against this category.- Specified by:
getShallowAllocationsin interfaceJavaRuntimeMemoryCategory- Returns:
- Allocation count.
- Throws:
CorruptDataException
-
getShallowBytes
Description copied from interface:JavaRuntimeMemoryCategoryGets number of bytes allocated under this category.- Specified by:
getShallowBytesin interfaceJavaRuntimeMemoryCategory- Returns:
- Number of bytes.
- Throws:
CorruptDataException
-