From 1dae506198b3584c7c2c24c4d3f010c438f81bc8 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Mon, 11 Apr 2022 13:05:47 +0000 Subject: [PATCH] Mention concurrent sweep in kotlin-native/NEW_MM.md --- kotlin-native/NEW_MM.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kotlin-native/NEW_MM.md b/kotlin-native/NEW_MM.md index addc96f1168..6d2a3c4448d 100644 --- a/kotlin-native/NEW_MM.md +++ b/kotlin-native/NEW_MM.md @@ -57,6 +57,11 @@ kotlin.targets.withType(KotlinNativeTarget::class.java) { If `kotlin.native.isExperimentalMM()` returns `true`, you've successfully enabled the new MM. +To improve the performance, please also consider enabling a concurrent implementation +for the sweep phase of the garbage collector. See more details +[here](https://kotlinlang.org/docs/whatsnew1620.html#concurrent-implementation-for-the-sweep-phase-in-new-memory-manager). +It will be switched on by default in Kotlin 1.7.0. + ### Update the libraries To take full advantage of the new MM, we released new versions of the following libraries: