mark and sweep
English
Noun
mark
and
sweep
(
uncountable
)
(
programming
)
A form of
garbage collection
in which every
accessible
object in
memory
is
flagged
, leaving unflagged only those that are no longer
reachable
and can thus be discarded.