ORC: make rootsThreshold thread local [backport]

This commit is contained in:
Araq
2023-05-06 08:52:04 +02:00
parent 85dbfc68b5
commit 5dfbf2d2e2
3 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
discard """
outputsub: "(allocCount: 4302, deallocCount: 4300)"
outputsub: "(allocCount: 4050, deallocCount: 4048)"
cmd: "nim c --gc:orc -d:nimAllocStats $file"
"""

View File

@@ -1,6 +1,6 @@
discard """
nimoutFull: true
cmd: '''nim c -r --warnings:off --hints:off --gc:arc --expandArc:newTarget --expandArc:delete --expandArc:p1 --expandArc:tt --hint:Performance:off --assertions:off --expandArc:extractConfig --expandArc:mergeShadowScope --expandArc:check $file'''
cmd: '''nim c -r --warnings:off --hints:off --mm:arc --expandArc:newTarget --expandArc:delete --expandArc:p1 --expandArc:tt --hint:Performance:off --assertions:off --expandArc:extractConfig --expandArc:mergeShadowScope --expandArc:check $file'''
nimout: '''
--expandArc: newTarget