GarbageCollector

class GarbageCollector(val malloc: Malloc, val interpreter: ShakeInterpreter)(source)

Constructors

Link copied to clipboard
constructor(malloc: Malloc, interpreter: ShakeInterpreter)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun collect()
fun collect(startPointer: Long)
Link copied to clipboard
fun freeUnmarkedBlocks(startPointer: Long)
Link copied to clipboard
fun mark(startPointer: Long)
Link copied to clipboard
fun scan(stack: ByteStack)
fun scan(localMemory: ByteArray)
Link copied to clipboard
fun scanBlock(blockPointer: Long): Boolean
fun scanBlock(header: MallocHeader, blockPointer: Long): Boolean
Link copied to clipboard
fun scanBlocks(startPointer: Long): Boolean
Link copied to clipboard
Link copied to clipboard
fun scanRegion(start: Long, end: Long): Boolean
Link copied to clipboard
fun unmark(pointer: Long)
fun unmark(pointer: Long, header: MallocHeader)
Link copied to clipboard
fun unmarkBlocks(startPointer: Long)