NativeGc

cpp.NativeGc (extern class)

Static Members

memInfo(inWhatInfo: Int): Float
Name Type
inWhatInfo Int
Returns
Float

allocateExtended(cls: Class<allocateExtended.T>, size: Int): allocateExtended.T
Name Type
cls Class<allocateExtended.T>
size Int
Returns
allocateExtended.T

addFinalizable(instance: AnonStruct, inPin: Bool): Void
Name Type
instance AnonStruct
inPin Bool

allocGcBytesRaw(inBytes: Int, isContainer: Bool): RawPointer<Void>
Name Type
inBytes Int
isContainer Bool
Returns
RawPointer<Void>

allocGcBytes(inBytes: Int): Pointer<Void>
Name Type
inBytes Int
Returns
Pointer<Void>

enable(inEnable: Bool): Void
Name Type
inEnable Bool

run(major: Bool): Void
Name Type
major Bool

compact(): Void

nativeTrace(sought: Class<Dynamic>, printInstances: Bool): Int
Name Type
sought Class<Dynamic>
printInstances Bool
Returns
Int

doNotKill(inObject: Dynamic): Void
Name Type
inObject Dynamic

getNextZombie(): Dynamic
Returns
Dynamic

safePoint(): Void

enterGCFreeZone(): Void

exitGCFreeZone(): Void

setMinimumFreeSpace(inBytes: Int): Void
Name Type
inBytes Int

setTargetFreeSpacePercentage(inPercentage: Int): Void
Name Type
inPercentage Int

setMinimumWorkingMemory(inBytes: Int): Void
Name Type
inBytes Int