diff options
| author | Russ Cox <rsc@golang.org> | 2013-09-16 20:26:10 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-09-16 20:26:10 -0400 |
| commit | 30ecb4cd05ac41805593c95bd7967b808e5f4ca5 (patch) | |
| tree | 6b9023fb344bec0e59603d82934529b51f89cb5c /src/pkg/runtime/runtime.h | |
| parent | 2a5dcfafec11744d55692838912901c58ba43bd2 (diff) | |
| download | go-30ecb4cd05ac41805593c95bd7967b808e5f4ca5.tar.xz | |
build: disable precise collection of stack frames
The code for call site-specific pointer bitmaps was not ready in time,
but the zeroing required without it is too expensive to use by default.
We will have to wait for precise collection of stack frames until Go 1.3.
The precise collection can be re-enabled by
GOEXPERIMENT=precisestack ./all.bash
but that will not be the default for a Go 1.2 build.
Fixes #6087.
R=golang-dev, jeremyjackins, dan.kortschak, r
CC=golang-dev
https://golang.org/cl/13677045
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 9974fa3269..920e86c312 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -539,6 +539,8 @@ struct DebugVars int32 scheddetail; }; +extern bool runtime·precisestack; + /* * defined macros * you need super-gopher-guru privilege |
