mirror of
https://github.com/golang/go
synced 2024-11-19 06:14:39 -07:00
fix GC fractional mode for clear description
This commit is contained in:
parent
dae95b9407
commit
5910e76324
@ -302,8 +302,8 @@ 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 and the utilization too far away from the
|
// an integer and using only dedicated workers would result in
|
||||||
// gcBackgroundUtilization when round the number.
|
// utilization too far from the target of gcBackgroundUtilization.
|
||||||
// The fractional worker should run until it is preempted and
|
// The fractional worker should run until it is preempted and
|
||||||
// will be scheduled to pick up the fractional part of
|
// will be scheduled to pick up the fractional part of
|
||||||
// GOMAXPROCS*gcBackgroundUtilization.
|
// GOMAXPROCS*gcBackgroundUtilization.
|
||||||
|
Loading…
Reference in New Issue
Block a user