[K/N] Add hard memory boundary ^KT-54727

This commit is contained in:
Alexander Shabalin
2023-06-28 10:38:03 +02:00
committed by Space Team
parent 220ecc4788
commit 576f6642f9
35 changed files with 1403 additions and 292 deletions
@@ -62,6 +62,7 @@ fun test() {
if (Platform.memoryModel == MemoryModel.EXPERIMENTAL) {
kotlin.native.runtime.GC.autotune = false
kotlin.native.runtime.GC.targetHeapBytes = retainLimit
kotlin.native.runtime.GC.pauseOnTargetHeapOverflow = true
}
// On Linux, the child process might immediately commit the same amount of memory as the parent.