Garbage Collection

Garbage collection is the automatic deallocation of unreachable heap objects.

Related concepts:  Allocation

Closest Wikipedia entry:  Garbage collection (computer science) — In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector attempts to reclaim memory which was allocated by the program, but is no longer referenced—also called garbage. Garbage collection was invented by American computer scientist John McCarthy around 1959 to simplify manual memory management in Lisp.Garbage collection relieves the programmer from performing manual memory management where the programmer specifies what objects to deallocate and return to the memory system and when to do so.

Authoritative Definition

Wikipedia does not necessarily offer the best fitting definition of a concept. The exact meaning we attribute to the concept of Garbage Collection is based on principled authoritative sources such as:

Misconceptions about Garbage Collection
0 documented Misconceptions

No known misconceptions for this concept

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.