3 ms·Garbage collection also performs other performance improving functions like memory compaction.by cm2187 8y agoGarbage collection also performs other performance improving functions like memory compaction.