diff options
author | Austin Clements <austin@google.com> | 2015-08-03 18:09:13 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2015-08-04 18:54:56 +0000 |
commit | be39a429207ebb3e6d419e7133d8ad9d60107a13 (patch) | |
tree | b7c492d8d349c0dd15d1fd45f71de4b6e3d88965 | |
parent | e3870aa6f38b842ba5527a1ccd9433f8b6a4a2fe (diff) | |
download | go-be39a429207ebb3e6d419e7133d8ad9d60107a13.tar.gz go-be39a429207ebb3e6d419e7133d8ad9d60107a13.zip |
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>
-rw-r--r-- | src/runtime/mgc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index c8031d7db7..f7e9908a8a 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -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 } |