threshold

Deprecated

No-op in modern GC implementation

Deprecated and unused.

Legacy MM: GC threshold, controlling how frequenly GC is activated, and how much time GC takes. Bigger values lead to longer GC pauses, but less GCs.

Default: 8 * 1024

Since Kotlin

1.9

Throws

when value is not positive.