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

autotune

Native
1.3
var autotune : Boolean
(source)

If true update targetHeapBytes after each collection.

Legacy MM: If GC shall auto-tune thresholds, depending on how much time is spent in collection.

Default: true

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 .