collectCyclesThreshold

Native
1.3
var collectCyclesThreshold: Long
(source)
Deprecated: No-op in modern GC implementation

Deprecated and unused.

Legacy MM: GC allocation threshold, controlling how frequenly GC collect cycles, and how much time this process takes. Bigger values lead to longer GC pauses, but less GCs.

Default: 8 * 1024

Exceptions

IllegalArgumentException - when value is not positive.