diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2023-05-10 12:54:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 12:54:43 +0200 |
commit | f3a4cc584e778378d7f0d84e352076ca01068170 (patch) | |
tree | 181d7e4cc3a92c080ec4d2a9b265d7d9aec62ec0 /tests/arc | |
parent | deaf6843752112cfaadc688302c94779d633c686 (diff) | |
download | Nim-f3a4cc584e778378d7f0d84e352076ca01068170.tar.gz |
make ORC threadlocal, take two (#21818)
* ORC: make rootsThreshold thread local [backport] * fixes the regression
Diffstat (limited to 'tests/arc')
-rw-r--r-- | tests/arc/tasyncleak.nim | 2 | ||||
-rw-r--r-- | tests/arc/topt_no_cursor.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/arc/tasyncleak.nim b/tests/arc/tasyncleak.nim index eb0c45213..8e3a7b3e7 100644 --- a/tests/arc/tasyncleak.nim +++ b/tests/arc/tasyncleak.nim @@ -1,5 +1,5 @@ discard """ - outputsub: "(allocCount: 4302, deallocCount: 4300)" + outputsub: "(allocCount: 4050, deallocCount: 4048)" cmd: "nim c --gc:orc -d:nimAllocStats $file" """ diff --git a/tests/arc/topt_no_cursor.nim b/tests/arc/topt_no_cursor.nim index ddcc549d1..32652b60a 100644 --- a/tests/arc/topt_no_cursor.nim +++ b/tests/arc/topt_no_cursor.nim @@ -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 |