Traditional automatic memory management

伝統的な自動メモリ管理
Traditional automatic memory management
In most programming languages automatic memory management is realized by a process called Garbage Collection. This is a process where allocated but unused memory gets occasionally freed again. When memory is allocated it is registered in some form. Some other process, typically working asynchronous to the normal statement evaluation investigates the allocated memory pool for unused parts, which can be recycled for future use.

This process is typically triggered by some memory allocation limit or happens synchronously between steps of the normal evaluation process.


ほとんどのプログラミング言語では、自動的なメモリ管理は
ガーベジコレクションと呼ばれるプロセスによって実現されます。
これは時々実行されるプロセスで、割り当てられたものの
未使用であるメモリを解放し再び利用可能にするものです。
メモリが割り付けられる場合、それはなんらかの形式で登録されます。

他のあるプロセス(典型的には正常なステートメント評価)に対して
非同期に働き、未使用部分として割り当てられたメモリプールを調査します。
(今後の使用のためにその部分を再生することができます)。
このプロセスは、メモリ割当の限界が引き金となって起動するか、
あるいは、正常な評価プロセスのステップ間に同期して起動します。