I am curious if anybody has enabled this flag in their iOS KMP apps
Copy code
kotlin.native.binary.gc=cms
and what their experience has been. i am trying it now, but it would be nice to know how others experience has gone. Thanks!
👀 1
j
Jimbo
10/14/2024, 5:36 PM
What does this flag do?
t
tylerwilson
10/14/2024, 6:28 PM
My understanding is that it runs the GC methods in a background thread, so it won't block the main thread. It can be noticable on iOS esp. There was a different flag that I used previously:
Copy code
kotlin.native.binary.objcDisposeOnMain = false
which had the same effect. My expectation with this new flag is that perhaps I can remove that and get perhaps better overall behavior. So I wanted to confirm with any others using the new flag.