Skip to content

Commit d0d85e0

Browse files
committed
update --gcthreads section in command line options
1 parent 66e9410 commit d0d85e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/man/julia.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ process affinity is not configured, it uses the number of CPU
123123
threads.
124124

125125
.TP
126-
--gcthreads <n>
127-
Enable n GC threads; If unspecified is set to half of the
128-
compute worker threads.
126+
--gcthreads=N[,M]
127+
Use N threads for the mark phase of GC and M (0 or 1) threads for the concurrent sweeping phase of GC.
128+
N is set to half of the number of compute threads and M is set to 0 if unspecified.
129129

130130
.TP
131131
-p, --procs {N|auto}

doc/src/manual/command-line-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The following is a complete list of command-line switches available when launchi
174174
|`-E`, `--print <expr>` |Evaluate `<expr>` and display the result|
175175
|`-L`, `--load <file>` |Load `<file>` immediately on all processors|
176176
|`-t`, `--threads {N\|auto}` |Enable N threads; `auto` tries to infer a useful default number of threads to use but the exact behavior might change in the future. Currently, `auto` uses the number of CPUs assigned to this julia process based on the OS-specific affinity assignment interface, if supported (Linux and Windows). If this is not supported (macOS) or process affinity is not configured, it uses the number of CPU threads.|
177-
| `--gcthreads {N}` |Enable N GC threads; If unspecified is set to half of the compute worker threads.|
177+
| `--gcthreads=N[,M]` |Use N threads for the mark phase of GC and M (0 or 1) threads for the concurrent sweeping phase of GC. N is set to half of the number of compute threads and M is set to 0 if unspecified.|
178178
|`-p`, `--procs {N\|auto}` |Integer value N launches N additional local worker processes; `auto` launches as many workers as the number of local CPU threads (logical cores)|
179179
|`--machine-file <file>` |Run processes on hosts listed in `<file>`|
180180
|`-i` |Interactive mode; REPL runs and `isinteractive()` is true|

0 commit comments

Comments
 (0)