Skip to content
EntityQ322202· pop 42· linked from 525 articles

garbage collection

Sign in to save

Also known as GC

form of automatic memory management

Wikidata facts

Image
Garbage collection.gif
Show 4 more facts
short name
GC
name in kana
ガベージコレクション
Commons category
Garbage collection (computer science)
Sources (3)

via Wikidata · CC0

~21 min read

Article

(Learn how and when to remove this message)

Stop-and-copy garbage collection in a Lisp architecture: Memory is divided into working and free memory; new objects are allocated in the former. When it is full (depicted), garbage collection is performed: All data structures still in use are located by pointer tracing and copied into consecutive locations in free memory. After that, the working memory contents is discarded in favor of the compacted copy, and the role of working and free memory are exchanged (depicted).

Connections

Categories