diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2020-06-09 09:11:11 -0700 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2020-06-09 21:24:52 +0000 |
commit | 619072be4138e3fc092a9b77d57a9abc5333a4ab (patch) | |
tree | 85f9caefe9b12cf1a1013d3bfa785562f0acc09c | |
parent | 281f0ed7bf671e6bb65ade4aa3146bc572d64560 (diff) | |
download | go-619072be4138e3fc092a9b77d57a9abc5333a4ab.tar.gz go-619072be4138e3fc092a9b77d57a9abc5333a4ab.zip |
runtime: fix typo in comment (object -> objects)
Change-Id: I2af1f9dcd1a9609681e58ab07e73e6d7a5f8a12b
Reviewed-on: https://go-review.googlesource.com/c/go/+/237160
Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | src/runtime/mstats.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mstats.go b/src/runtime/mstats.go index ba508729c5..6a8a34d1ed 100644 --- a/src/runtime/mstats.go +++ b/src/runtime/mstats.go @@ -529,7 +529,7 @@ func updatememstats() { // Calculate memory allocator stats. // During program execution we only count number of frees and amount of freed memory. - // Current number of alive object in the heap and amount of alive heap memory + // Current number of alive objects in the heap and amount of alive heap memory // are calculated by scanning all spans. // Total number of mallocs is calculated as number of frees plus number of alive objects. // Similarly, total amount of allocated memory is calculated as amount of freed memory |