2 ms·
Right. It's linear in the size of the root set, which is #global variables + #references on thread stacks, but constant in the size of the heap.
by pron 8y ago
Right. It's linear in the size of the root set, which is #global variables + #references on thread stacks, but constant in the size of the heap.