W3cubDocs

/Haxe HashLink

Gc

package hl

Available on hl

Static variables

staticflags:EnumFlags<GcFlag>

Static methods

staticblocking(b:Bool):Void

Enter/leave a blocking section: when in a blocking section the thread cannot allocate any memory but other threads will not wait for it for collecting memory.

staticdumpMemory(fileName:String = "hlmemory.dump"):Void

Dump whole memory into target filename for analysis.

staticenable(b:Bool):Void

staticmajor():Void

staticstats():{totalAllocated:Float, currentMemory:Float, allocationCount:Float}

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/hl/Gc.html