We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8114249 commit 1cafd8aCopy full SHA for 1cafd8a
src/threading.c
@@ -678,13 +678,12 @@ void jl_init_threading(void)
678
}
679
else {
680
// if `--gcthreads` or ENV[NUM_GCTHREADS_NAME] was not specified,
681
- // set the number of mark threads to half of compute threads
682
- // and number of sweep threads to 0
+ // set the number of GC threads to the number of compute threads
683
if (nthreads <= 1) {
684
jl_n_markthreads = 0;
685
686
687
- jl_n_markthreads = (nthreads / 2) - 1;
+ jl_n_markthreads = nthreads - 1;
688
689
690
// cap the number of threads that may run the mark phase to
0 commit comments