public interface JavaRuntimeMemorySection extends ImageSection
| Modifier and Type | Field and Description |
|---|---|
static 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.
|
static int |
ALLOCATION_TYPE_MALLOC_LIVE
Type code for memory allocated on the native heap via an API such as malloc().
|
static int |
ALLOCATION_TYPE_MEMORY_MAPPED_FILE
Type code for memory allocated for memory mapping files through an API like mmap().
|
static int |
ALLOCATION_TYPE_SHARED_MEMORY
Type code for shared memory sections.
|
static int |
ALLOCATION_TYPE_VIRTUAL_ALLOC
Type code for anonymous memory mappings / virtual allocations.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAllocationType()
Get memory allocation type code.
|
String |
getAllocator()
Returns string describing the code that allocated this memory section.
|
JavaRuntimeMemoryCategory |
getMemoryCategory()
Returns memory category this section was allocated under.
|
getBaseAddress, getName, getProperties, getSize, isExecutable, isReadOnly, isSharedstatic final int ALLOCATION_TYPE_MALLOC_LIVE
getAllocationType(),
Constant Field Valuesstatic final int ALLOCATION_TYPE_MALLOC_FREED
getAllocationType(),
Constant Field Valuesstatic final int ALLOCATION_TYPE_MEMORY_MAPPED_FILE
getAllocationType(),
Constant Field Valuesstatic final int ALLOCATION_TYPE_VIRTUAL_ALLOC
getAllocationType(),
Constant Field Valuesstatic final int ALLOCATION_TYPE_SHARED_MEMORY
getAllocationType(),
Constant Field ValuesString getAllocator() throws CorruptDataException, DataUnavailable
CorruptDataExceptionDataUnavailableJavaRuntimeMemoryCategory getMemoryCategory() throws CorruptDataException, DataUnavailable
CorruptDataExceptionDataUnavailableint getAllocationType()
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2004, 2025 IBM Corp. and others.