Added GC helper primitives markAllAsUnused, markAsUsed, doneMarking