[K/N] GC: parallel mark with work balancing ^KT-57771

Merge-request: KT-MR-11460
Merged-by: Alexey Glushko <aleksei.glushko@jetbrains.com>
This commit is contained in:
Aleksei.Glushko
2023-08-03 16:25:19 +00:00
committed by Space Team
parent f0f1dc15c3
commit f1efeff21b
32 changed files with 1431 additions and 594 deletions
@@ -86,7 +86,12 @@ fun testAtomicReferenceStress(workers: Array<Worker>) {
fun runStressTest() {
val COUNT = 20
val workers = Array(COUNT, { _ -> Worker.start()})
testAtomicIntStress(workers)
testAtomicLongStress(workers)
testAtomicReferenceStress(workers)
workers.forEach {
it.requestTermination().result
}
}