Static variables

@:value(2)staticinlineread onlyMEM_INFO_CURRENT:Int = 2

@:value(3)staticinlineread onlyMEM_INFO_LARGE:Int = 3

@:value(1)staticinlineread onlyMEM_INFO_RESERVED:Int = 1

@:value(0)staticinlineread onlyMEM_INFO_USAGE:Int = 0

Static methods

staticinlinecompact():Void

staticinlinedoNotKill(inObject:Dynamic):Void

staticinlineenable(inEnable:Bool):Void

staticinlineenterGCFreeZone():Void

staticinlineexitGCFreeZone():Void

staticinlinegetNextZombie():Dynamic

staticmemInfo(inWhatInfo:Int):Int

Introduced hxcpp_api_level 310

Returns stats on memory usage: - MEM_INFO_USAGE - estimate of how much is needed by program (at last collect) - MEM_INFO_RESERVED - memory allocated for possible use - MEM_INFO_CURRENT - memory in use, includes uncollected garbage.

This will generally saw-tooth between USAGE and RESERVED
  • MEM_INFO_LARGE - Size of separate pool used for large allocs. Included in all the above.

staticmemInfo64(inWhatInfo:Int):Float

staticmemUsage():Int

staticinlinerun(major:Bool):Void

staticinlinesafePoint():Void

@:native("__hxcpp_set_finalizer")staticsetFinalizer<T>(inObject:T, inFinalizer:Callable<T ‑> Void>):Void

staticinlinesetMinimumFreeSpace(inBytes:Int):Void

staticinlinesetMinimumWorkingMemory(inBytes:Int):Void

staticinlinesetTargetFreeSpacePercentage(inPercentage:Int):Void

@:value({ printInstances : true })statictrace(sought:Class<Dynamic>, printInstances:Bool = true):Int