package hl
Available on hlstatic flags:EnumFlags<GcFlag> static dumpMemory (fileName:String = "hlmemory.dump"):VoidDump whole memory into target filename for analysis.
static enable (b:Bool):Void static major ():Voidstatic stats ():{totalAllocated:Float, currentMemory:Float, allocationCount:Float}static track (obj:Dynamic, field:String, callb:Dynamic ‑> Bytes ‑> Void):VoidStart tracking an object field change. The check will be performed every allocation and the callback function triggered everytime a change has been performed since last check. The callback parameter is true if the object was collected. It is necessary to enable the Track flag in Gc.flags
static trackCount ():Intstatic untrack (obj:Dynamic):Bool static untrackAll ():Void
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/hl/Gc.html