mirror of https://github.com/golang/go.git
fix wrong GC Fractional Mode description
This commit is contained in:
parent
cd99385ff4
commit
eb55dead7b
|
|
@ -302,9 +302,10 @@ const (
|
||||||
// gcMarkWorkerFractionalMode indicates that a P is currently
|
// gcMarkWorkerFractionalMode indicates that a P is currently
|
||||||
// running the "fractional" mark worker. The fractional worker
|
// running the "fractional" mark worker. The fractional worker
|
||||||
// is necessary when GOMAXPROCS*gcBackgroundUtilization is not
|
// is necessary when GOMAXPROCS*gcBackgroundUtilization is not
|
||||||
// an integer. The fractional worker should run until it is
|
// an integer and each P is too far away from the
|
||||||
// preempted and will be scheduled to pick up the fractional
|
// gcBackgroundUtilization target. The fractional worker should
|
||||||
// part of GOMAXPROCS*gcBackgroundUtilization.
|
// run until it is preempted and will be scheduled to pick up the
|
||||||
|
// fractional part of GOMAXPROCS*gcBackgroundUtilization.
|
||||||
gcMarkWorkerFractionalMode
|
gcMarkWorkerFractionalMode
|
||||||
|
|
||||||
// gcMarkWorkerIdleMode indicates that a P is running the mark
|
// gcMarkWorkerIdleMode indicates that a P is running the mark
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue