com.ibm.dtfj.java

Interface JavaRuntimeMemorySection

All Superinterfaces:
ImageSection

  1. public interface JavaRuntimeMemorySection
  2. extends ImageSection
Represents a native memory range allocated by the Java Runtime.
Since:
1.5

Field Summary

Modifier and Type Field and Description
  1. static
  2. 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.
  1. static
  2. int
ALLOCATION_TYPE_MALLOC_LIVE
Type code for memory allocated on the native heap via an API such as malloc().
  1. static
  2. int
ALLOCATION_TYPE_MEMORY_MAPPED_FILE
Type code for memory allocated for memory mapping files through an API like mmap().
  1. static
  2. int
ALLOCATION_TYPE_SHARED_MEMORY
Type code for shared memory sections.
  1. static
  2. int
ALLOCATION_TYPE_VIRTUAL_ALLOC
Type code for anonymous memory mappings / virtual allocations.

Method Summary

Modifier and Type Method and Description
  1. int
getAllocationType()
Get memory allocation type code.
  1. java.lang.String
getAllocator()
Returns string describing the code that allocated this memory section.
  1. JavaRuntimeMemoryCategory
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

  1. 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

  1. 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

  1. 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

  1. static final int ALLOCATION_TYPE_VIRTUAL_ALLOC
Type code for anonymous memory mappings / virtual allocations.
See Also:

ALLOCATION_TYPE_SHARED_MEMORY

  1. static final int ALLOCATION_TYPE_SHARED_MEMORY
Type code for shared memory sections.
See Also:

Method Detail

getAllocator

  1. java.lang.String getAllocator()
  2. throws CorruptDataException
  3. DataUnavailable
Returns string describing the code that allocated this memory section.
Returns:
Allocator string.
Throws:

getMemoryCategory

  1. JavaRuntimeMemoryCategory getMemoryCategory( )
  2. throws CorruptDataException
  3. DataUnavailable
Returns memory category this section was allocated under.
Returns:
Memory category.
Throws:

getAllocationType

  1. int getAllocationType()
Get memory allocation type code.
Returns:
Type code.