diff options
| author | Iskander Sharipov <quasilyte@gmail.com> | 2019-01-31 13:00:51 +0300 |
|---|---|---|
| committer | Iskander Sharipov <quasilyte@gmail.com> | 2019-05-05 08:09:30 +0000 |
| commit | 12e63226b97433bdb283bdb732cc189101e7fc7f (patch) | |
| tree | ec4f162c8d1167469453253bf6d5c990e53e6ea9 /src/runtime | |
| parent | 170b8b4b12be50eeccbcdadb8523fb4fc670ca72 (diff) | |
| download | go-12e63226b97433bdb283bdb732cc189101e7fc7f.tar.xz | |
all: remove commented-out print statements
Those print statements are not a good debug helpers
and only clutter the code.
Change-Id: Ifbf450a04e6fa538af68e6352c016728edb4119a
Reviewed-on: https://go-review.googlesource.com/c/go/+/160537
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/mbitmap.go | 3 | ||||
| -rw-r--r-- | src/runtime/mem_aix.go | 1 | ||||
| -rw-r--r-- | src/runtime/mheap.go | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index 6fcdea1538..30ec5f1cc9 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -1667,15 +1667,12 @@ Run: if n == 0 { // Program is over; continue in trailer if present. if trailer != nil { - //println("trailer") p = trailer trailer = nil continue } - //println("done") break Run } - //println("lit", n, dst) nbyte := n / 8 for i := uintptr(0); i < nbyte; i++ { bits |= uintptr(*p) << nbits diff --git a/src/runtime/mem_aix.go b/src/runtime/mem_aix.go index 56db7426af..660861a9f1 100644 --- a/src/runtime/mem_aix.go +++ b/src/runtime/mem_aix.go @@ -22,7 +22,6 @@ func sysAlloc(n uintptr, sysStat *uint64) unsafe.Pointer { print("runtime: mmap: too much locked memory (check 'ulimit -l').\n") exit(2) } - //println("sysAlloc failed: ", err) return nil } mSysStatInc(sysStat, n) diff --git a/src/runtime/mheap.go b/src/runtime/mheap.go index 9f4e75a7b1..1e61656489 100644 --- a/src/runtime/mheap.go +++ b/src/runtime/mheap.go @@ -1211,7 +1211,6 @@ HaveSpan: *stat += uint64(npage << _PageShift) memstats.heap_idle -= uint64(npage << _PageShift) - //println("spanalloc", hex(s.start<<_PageShift)) if s.inList() { throw("still in list") } |
