Hello gri (cc: golang-dev@googlegroups.com), I'd like you to review this change.
*** Submitted as http://code.google.com/p/go/source/detail?r=915b24b0d904 *** fix build R=gri CC=golang-dev http://codereview.appspot.com/837041
LGTM On Mon, Mar 29, 2010 at 1:30 PM, <rsc@golang.org> wrote: > Reviewers: gri, > > Message: > Hello gri (cc: golang-dev@googlegroups.com), > > > I'd like you to review this change. > > > Description: > fix build > > Please review this at http://codereview.appspot.com/837041/show > > Affected files: > M src/cmd/godoc/godoc.go > > > Index: src/cmd/godoc/godoc.go > =================================================================== > --- a/src/cmd/godoc/godoc.go > +++ b/src/cmd/godoc/godoc.go > @@ -1383,9 +1383,9 @@ > nwords, nspots := index.Size() > log.Stderrf("index updated (%gs, %d unique > words, %d spots)", secs, nwords, nspots) > } > - log.Stderrf("bytes=%d footprint=%d\n", > runtime.MemStats.HeapAlloc, runtime.MemStats.InusePages<<12) > + log.Stderrf("bytes=%d footprint=%d\n", > runtime.MemStats.HeapAlloc, runtime.MemStats.Sys) > runtime.GC() > - log.Stderrf("bytes=%d footprint=%d\n", > runtime.MemStats.HeapAlloc, runtime.MemStats.InusePages<<12) > + log.Stderrf("bytes=%d footprint=%d\n", > runtime.MemStats.HeapAlloc, runtime.MemStats.Sys) > } > time.Sleep(1 * 60e9) // try once a minute > } > > >