]> Cypherpunks repositories - gostls13.git/commit
runtime: add GODEBUG for stack barriers at every frame
authorAustin Clements <austin@google.com>
Wed, 26 Aug 2015 17:54:26 +0000 (13:54 -0400)
committerAustin Clements <austin@google.com>
Sun, 30 Aug 2015 16:06:55 +0000 (16:06 +0000)
commit3bfc9df21aefe486de2c8a620a36fac178650a8c
treef6748a7e6d6021abde23332d0f977474c43a2065
parente2bb03f175e162cef9a6639d36483cf5e8be5306
runtime: add GODEBUG for stack barriers at every frame

Currently enabling the debugging mode where stack barriers are
installed at every frame requires recompiling the runtime. However,
this is potentially useful for field debugging and for runtime tests,
so make this mode a GODEBUG.

Updates #12238.

Change-Id: I6fb128f598b19568ae723a612e099c0ed96917f5
Reviewed-on: https://go-review.googlesource.com/13947
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/extern.go
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/runtime1.go