public class MemoryManager
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.Object[] |
data |
| Constructor | Description |
|---|---|
MemoryManager() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
free(Address aPointer) |
|
static long |
freeMem() |
|
static void |
GC() |
|
static void |
initNative() |
|
static void |
initTestMemory(int aSize) |
|
static void |
initWithSize(int aSize) |
|
static void |
logException(java.lang.Exception e) |
|
static void |
logExceptionText(java.lang.String aMessage) |
|
static void |
logMemoryLayout() |
|
static void |
logMemoryLayoutBlock(int aStart,
int aUsed,
int aNext) |
|
static Address |
malloc(int aSize) |
|
static Address |
newArray(int aSize,
int aType,
int aVTableIndex) |
|
static Address |
newArray(int aSize1,
int aSize2,
int aType,
int aVTableIndex) |
|
static byte[] |
newByteArray(int length) |
|
static Address |
newObject(int aSize,
int aType,
int aVTableIndex) |
|
static TString |
newString(byte[] aData) |
|
static void |
setByteArrayEntry(byte[] aArray,
int aIndex,
byte aValue) |
|
static long |
usedMem() |
public static void initTestMemory(int aSize)
public static void initWithSize(int aSize)
public static void initNative()
public static void logMemoryLayoutBlock(int aStart,
int aUsed,
int aNext)
public static long freeMem()
public static long usedMem()
public static void logMemoryLayout()
public static void logExceptionText(java.lang.String aMessage)
public static void logException(java.lang.Exception e)
throws java.lang.Exception
java.lang.Exceptionpublic static void free(Address aPointer)
public static Address malloc(int aSize)
public static Address newObject(int aSize, int aType, int aVTableIndex)
public static void GC()
public static Address newArray(int aSize, int aType, int aVTableIndex)
public static Address newArray(int aSize1, int aSize2, int aType, int aVTableIndex)
public static TString newString(byte[] aData)
public static byte[] newByteArray(int length)
public static void setByteArrayEntry(byte[] aArray,
int aIndex,
byte aValue)
Copyright © 2019 Systemprogrammierung Mirko Sertic. All rights reserved.