summary refs log tree commit diff stats
path: root/lib/system/orc.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-08-08 17:55:18 +0800
committerGitHub <noreply@github.com>2023-08-08 05:55:18 -0400
commit10a6e4c236b8d4d609a07b29ad5b7b4e517cd367 (patch)
tree67bdc6e014432b6edf9578829b5649eb03490c23 /lib/system/orc.nim
parentbf5d173bc65aea071e5ffdf593f6b8797b56816d (diff)
downloadNim-10a6e4c236b8d4d609a07b29ad5b7b4e517cd367.tar.gz
clean up `gc:arc` or `gc:orc` in docs and in error messages (#22408)
* clean up gc:arc/orc in docs

* in error messages
Diffstat (limited to 'lib/system/orc.nim')
-rw-r--r--lib/system/orc.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/system/orc.nim b/lib/system/orc.nim
index b7b98c340..335d49d0f 100644
--- a/lib/system/orc.nim
+++ b/lib/system/orc.nim
@@ -424,13 +424,13 @@ proc GC_runOrc* =
   orcAssert roots.len == 0, "roots not empty!"
 
 proc GC_enableOrc*() =
-  ## Enables the cycle collector subsystem of `--gc:orc`. This is a `--gc:orc`
+  ## Enables the cycle collector subsystem of `--mm:orc`. This is a `--mm:orc`
   ## specific API. Check with `when defined(gcOrc)` for its existence.
   when not defined(nimStressOrc):
     rootsThreshold = 0
 
 proc GC_disableOrc*() =
-  ## Disables the cycle collector subsystem of `--gc:orc`. This is a `--gc:orc`
+  ## Disables the cycle collector subsystem of `--mm:orc`. This is a `--mm:orc`
   ## specific API. Check with `when defined(gcOrc)` for its existence.
   when not defined(nimStressOrc):
     rootsThreshold = high(int)
@@ -441,16 +441,16 @@ proc GC_partialCollect*(limit: int) =
   partialCollect(limit)
 
 proc GC_fullCollect* =
-  ## Forces a full garbage collection pass. With `--gc:orc` triggers the cycle
+  ## Forces a full garbage collection pass. With `--mm:orc` triggers the cycle
   ## collector. This is an alias for `GC_runOrc`.
   collectCycles()
 
 proc GC_enableMarkAndSweep*() =
-  ## For `--gc:orc` an alias for `GC_enableOrc`.
+  ## For `--mm:orc` an alias for `GC_enableOrc`.
   GC_enableOrc()
 
 proc GC_disableMarkAndSweep*() =
-  ## For `--gc:orc` an alias for `GC_disableOrc`.
+  ## For `--mm:orc` an alias for `GC_disableOrc`.
   GC_disableOrc()
 
 const