fix wrong GC Fractional Mode description

This commit is contained in:
zhengjianxun 2021-02-19 00:33:36 +08:00
parent cd99385ff4
commit eb55dead7b
1 changed files with 4 additions and 3 deletions

View File

@ -302,9 +302,10 @@ const (
// gcMarkWorkerFractionalMode indicates that a P is currently
// running the "fractional" mark worker. The fractional worker
// is necessary when GOMAXPROCS*gcBackgroundUtilization is not
// an integer. The fractional worker should run until it is
// preempted and will be scheduled to pick up the fractional
// part of GOMAXPROCS*gcBackgroundUtilization.
// an integer and each P is too far away from the
// gcBackgroundUtilization target. The fractional worker should
// run until it is preempted and will be scheduled to pick up the
// fractional part of GOMAXPROCS*gcBackgroundUtilization.
gcMarkWorkerFractionalMode
// gcMarkWorkerIdleMode indicates that a P is running the mark