]> Cypherpunks repositories - gostls13.git/commit
runtime: add GODEBUG=gccheckmark=0/1
authorAustin Clements <austin@google.com>
Fri, 9 Jan 2015 19:00:40 +0000 (14:00 -0500)
committerAustin Clements <austin@google.com>
Mon, 12 Jan 2015 16:36:50 +0000 (16:36 +0000)
commit654297cb0233d0af84c8d5dbf18f46b1bcdcee85
treeabf2c0753aa4d2dc3862ac465515071c647a6944
parent86fdcbedbcb868f7f2e8274d2b50f0ea34043c47
runtime: add GODEBUG=gccheckmark=0/1

Previously, gccheckmark could only be enabled or disabled by calling
runtime.GCcheckmarkenable/GCcheckmarkdisable.  This was a necessary
hack because GODEBUG was broken.

Now that GODEBUG works again, move control over gccheckmark to a
GODEBUG variable and remove these runtime functions.  Currently,
gccheckmark is enabled by default (and will probably remain so for
much of the 1.5 development cycle).

Change-Id: I2bc6f30c21b795264edf7dbb6bd7354b050673ab
Reviewed-on: https://go-review.googlesource.com/2603
Reviewed-by: Rick Hudson <rlh@golang.org>
api/next.txt
src/runtime/extern.go
src/runtime/malloc.go
src/runtime/mgc.go
src/runtime/runtime1.go