← Docs
kotlin-stdlib / kotlin.native.runtime / GC / thresholdAllocations

thresholdAllocations

Native
1.3
var thresholdAllocations : Long
(source)

Deprecated and unused.

Legacy MM: GC allocation threshold, controlling how many bytes allocated since last collection will trigger new GC.

Default: 8 * 1024 * 1024

Exceptions

IllegalArgumentException - when value is not positive.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .