Static variables

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

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

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

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

Static methods

@:keepstaticinlinecompact():Void

@:keepstaticinlinedoNotKill(inObject:Dynamic):Void

@:keepstaticinlineenable(inEnable:Bool):Void

@:keepstaticinlineenterGCFreeZone():Void

@:keepstaticinlineexitGCFreeZone():Void

@:keepstaticinlinegetNextZombie():Dynamic

@:keepstaticmemInfo(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.

@:keepstaticmemInfo64(inWhatInfo:Int):Float

@:keepstaticmemUsage():Int

@:keepstaticinlinerun(major:Bool):Void

@:keepstaticinlinesafePoint():Void

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

@:keepstaticinlinesetMinimumFreeSpace(inBytes:Int):Void

@:keepstaticinlinesetMinimumWorkingMemory(inBytes:Int):Void

@:keepstaticinlinesetTargetFreeSpacePercentage(inPercentage:Int):Void

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

@:keepstaticversionCheck():Bool