method

stress=

v1_8_7_330 - Show latest stable - Class: GC
stress=(p1)
public

updates GC stress mode.

When GC.stress = true, GC is invoked for all GC opportunity: all memory and object allocation.

Since it makes Ruby very slow, it is only for debugging.