Skip to content

Commit a93e5b4

Browse files
committed
Revert "runtime: diagnose invalid pointers during GC"
Broke arm64. Update #9880. This reverts commit 38d9b2a. Change-Id: I35fa21005af2183828a9d8b195ebcfbe45ec5138 Reviewed-on: https://go-review.googlesource.com/12247 Reviewed-by: Russ Cox <[email protected]>
1 parent 816222d commit a93e5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/mbitmap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func heapBitsForObject(p uintptr) (base uintptr, hbits heapBits, s *mspan) {
201201
// The following ensures that we are rigorous about what data
202202
// structures hold valid pointers.
203203
// TODO(rsc): Check if this still happens.
204-
if true {
204+
if false {
205205
// Still happens sometimes. We don't know why.
206206
printlock()
207207
print("runtime:objectstart Span weird: p=", hex(p), " k=", hex(k))

0 commit comments

Comments
 (0)