上游 · Kotlin/Native memory management
To enable the feature, set the following compiler option in your gradle.properties file:
kotlin.native.binary.enableSafepointSignposts=true
Open Xcode, go to Product | Profile or press Cmd + I . This action compiles your app and launches Instruments.
In the template selection, select os_signpost .
Configure it by specifying org.kotlinlang.native.runtime as subsystem and safepoint as category .
Click the red record button to run your app and start recording signpost events:…