]> Cypherpunks repositories - gostls13.git/commit
runtime: fix gccheckmark mode and enable by default
authorRuss Cox <rsc@golang.org>
Thu, 7 May 2015 19:29:48 +0000 (15:29 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 7 May 2015 21:08:29 +0000 (21:08 +0000)
commit96265610307eab2b160a271169632b52ad7cc455
treec0ee72afdb3dc4c8caf3a7bf5e14443bc8adf6ac
parentb6e178ed7ee4781020b5e2d2dbc5346e8de42ee2
runtime: fix gccheckmark mode and enable by default

It was testing the mark bits on what roots pointed at,
but not the remainder of the live heap, because in
CL 2991 I accidentally inverted this check during
refactoring.

The next CL will turn it back off by default again,
but I want one run on the builders with the full
checkmark checks.

Change-Id: Ic166458cea25c0a56e5387fc527cb166ff2e5ada
Reviewed-on: https://go-review.googlesource.com/9824
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgcmark.go
src/runtime/runtime1.go