上游 · Kotlin/Native memory management
Tagging enabled . The memory should be tagged with a valid identifier. Apple recommends numbers between 240 and 255; the default value is 246.
If you set up the kotlin.native.binary.mmapTag=0 Gradle property, tagging is disabled.
Allocation with mmap . The allocator should use the mmap system call to map files into memory.
If you set up the kotlin.native.binary.disableMmap=true Gradle property, the default allocator uses malloc instead of mmap .
Paging enabled . Paging of allocations (buffering) should be enabled.…