Morgan Stanley interview question

Draw the garbage collector.How it works?