Static methods

staticbuildGCInfo():String

@:value({ major : false })staticcollect(major:Bool = false):Void

Manually perform garbage collection once. Should only be called from the main thread.

Parameters:

major

true to perform major collection, whatever that means.

staticcompact():Void

Perform major garbage collection repeatedly until less than 16kb of memory is freed in one operation. Should only be called from the main thread.

NOTE: This is DIFFERENT from actual compaction,

staticdisable():Void

Disable garbage collection entirely.

staticenable():Void

Enable garbage collection if it was previously disabled.

staticgetGCMemory():Float

staticgetTaskMemory():Float

staticsupportsTaskMem():Bool