diff options
author | Russ Cox <rsc@golang.org> | 2015-06-07 23:42:03 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2015-07-15 05:42:06 +0000 |
commit | 38d9b2a3a942892193195a6912ab23cdaff23e20 (patch) | |
tree | b922db27bc3442c2985597cbd98030187bfbfc0e | |
parent | 7feb424928605b51979e0bda3bbad139fcf2bb51 (diff) | |
download | go-38d9b2a3a942892193195a6912ab23cdaff23e20.tar.gz go-38d9b2a3a942892193195a6912ab23cdaff23e20.zip |
runtime: diagnose invalid pointers during GC
For #9880. Let's see what breaks.
Change-Id: Ic8b99a604e60177a448af5f7173595feed607875
Reviewed-on: https://go-review.googlesource.com/10818
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
-rw-r--r-- | src/runtime/mbitmap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index ef17409ebe..b9b52a7bc4 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -201,7 +201,7 @@ func heapBitsForObject(p uintptr) (base uintptr, hbits heapBits, s *mspan) { // The following ensures that we are rigorous about what data // structures hold valid pointers. // TODO(rsc): Check if this still happens. - if false { + if true { // Still happens sometimes. We don't know why. printlock() print("runtime:objectstart Span weird: p=", hex(p), " k=", hex(k)) |