Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > module GC > stress

singleton method GC.stress

stress -> bool
stress=(value)

GC.stress が真に設定されている間は、GC を行えるすべての機会に GC を行います。

[PARAM] value:
任意のオブジェクト。真偽値として解釈されます。