gc_collect

強制的にガページコレクションを行います。


taiseiue | 2021-09-12

定義

名前空間: Alice.Interpreter
アセンブリ: Losetta.dll
ソースコード: Alice.Interpreter.cs

gc_collect()

現在の処理系に対し強制的にすべてのガページコレクションを実行するよう要請します。

AliceScript
namespace Alice.Interpreter;
public void gc_collect();

対応
AliceScript RC1、RC2、GM、2.0、2.1、2.2、2.3、3.0、4
AliceSister GM、2.0、2.1、2.2、2.3、3.0、4
Losetta 0.8、0.9、0.10、0.11

次の例では、ガページコレクションを行います。

AliceScript
using Alice.Interpreter;

gc_collect();