com.ibm.dtfj.java
Interface JavaRuntimeMemorySection
All Superinterfaces:
- public interface JavaRuntimeMemorySection
- extends ImageSection
Since:
1.5
Field Summary
Modifier and Type | Field and Description |
---|---|
|
ALLOCATION_TYPE_MALLOC_FREED
Type code for memory that was allocated, and freed, by the Java runtime on the native heap using malloc() or similar.
|
|
ALLOCATION_TYPE_MALLOC_LIVE
Type code for memory allocated on the native heap via an API such as malloc().
|
|
ALLOCATION_TYPE_MEMORY_MAPPED_FILE
Type code for memory allocated for memory mapping files through an API like mmap().
|
|
ALLOCATION_TYPE_SHARED_MEMORY
Type code for shared memory sections.
|
|
ALLOCATION_TYPE_VIRTUAL_ALLOC
Type code for anonymous memory mappings / virtual allocations.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getAllocationType()
Get memory allocation type code.
|
|
getAllocator()
Returns string describing the code that allocated this memory section.
|
getMemoryCategory()
Returns memory category this section was allocated under.
|
Methods inherited from interface com.ibm.dtfj.image.ImageSection |
---|
getBaseAddress, getName, getSize, isExecutable, isReadOnly, isShared |
Field Detail
ALLOCATION_TYPE_MALLOC_LIVE
- static final int ALLOCATION_TYPE_MALLOC_LIVE
Type code for memory allocated on the native heap via an API such as malloc().
Covers malloc'd memory that hasn't been freed
See Also:
ALLOCATION_TYPE_MALLOC_FREED
- static final int ALLOCATION_TYPE_MALLOC_FREED
Type code for memory that was allocated, and freed, by the Java runtime on the native heap using malloc() or similar.
See Also:
ALLOCATION_TYPE_MEMORY_MAPPED_FILE
- static final int ALLOCATION_TYPE_MEMORY_MAPPED_FILE
Type code for memory allocated for memory mapping files through an API like mmap().
See Also:
ALLOCATION_TYPE_VIRTUAL_ALLOC
- static final int ALLOCATION_TYPE_VIRTUAL_ALLOC
Type code for anonymous memory mappings / virtual allocations.
See Also:
ALLOCATION_TYPE_SHARED_MEMORY
- static final int ALLOCATION_TYPE_SHARED_MEMORY
Type code for shared memory sections.
See Also:
Method Detail
getAllocator
- java.lang.String getAllocator()
- throws CorruptDataException
- DataUnavailable
Returns string describing the code that allocated this memory section.
getMemoryCategory
- JavaRuntimeMemoryCategory getMemoryCategory( )
- throws CorruptDataException
- DataUnavailable
Returns memory category this section was allocated under.
getAllocationType
- int getAllocationType()
Get memory allocation type code.
Returns:
Type code.