Kotlin/Native memory management

Edit pageLast modified: 27 November 2024

Kotlin/Native uses a modern memory manager that is similar to the JVM, Go, and other mainstream technologies, including the following features:

  • Objects are stored in a shared heap and can be accessed from any thread.

  • Tracing garbage collection is performed periodically to collect objects that are not reachable from the "roots", like local and global variables.