1
0
mirror of https://github.com/golang/go synced 2024-09-25 11:20:13 -06:00

runtime: fix typos in comments

Change-Id: I66f7937b22bb6e05c3f2f0f2a057151020ad9699
Reviewed-on: https://go-review.googlesource.com/13049
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Austin Clements 2015-08-03 18:09:13 -04:00
parent e3870aa6f3
commit be39a42920

View File

@ -498,7 +498,7 @@ func (c *gcControllerState) endCycle() {
// Compute next cycle trigger ratio. First, this computes the
// "error" for this cycle; that is, how far off the trigger
// was from what it should have been, accounting for both heap
// growth and GC CPU utilization. We computing the actual heap
// growth and GC CPU utilization. We compute the actual heap
// growth during this cycle and scale that by how far off from
// the goal CPU utilization we were (to estimate the heap
// growth if we had the desired CPU utilization). The
@ -1475,7 +1475,7 @@ func gcMark(start_time int64) {
} else {
// This can happen if most of the allocation during
// the cycle never became reachable from the heap.
// Just set the reachable heap appropriation to 0 and
// Just set the reachable heap approximation to 0 and
// let the heapminimum kick in below.
memstats.heap_reachable = 0
}