diff options
| author | Keith Randall <khr@golang.org> | 2013-08-19 12:20:50 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2013-08-19 12:20:50 -0700 |
| commit | 6401e0f83f29b0f3b03b9d07ebcab56e5ddb461b (patch) | |
| tree | b0f1f31288ff73d03ab415e9c78afadac5023318 /src/pkg/runtime/stack.c | |
| parent | 88ee849a8a1c4e3b63874fcbb8a5bb6eebeeb98b (diff) | |
| download | go-6401e0f83f29b0f3b03b9d07ebcab56e5ddb461b.tar.xz | |
runtime: don't run finalizers if we're still on the g0 stack.
R=golang-dev, rsc, dvyukov, khr
CC=golang-dev
https://golang.org/cl/11386044
Diffstat (limited to 'src/pkg/runtime/stack.c')
| -rw-r--r-- | src/pkg/runtime/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/stack.c b/src/pkg/runtime/stack.c index dd823705da..32d6fd4650 100644 --- a/src/pkg/runtime/stack.c +++ b/src/pkg/runtime/stack.c @@ -105,7 +105,7 @@ runtime·stackalloc(uint32 n) m->stackinuse++; return v; } - return runtime·mallocgc(n, 0, FlagNoProfiling|FlagNoGC|FlagNoZero|FlagNoInvokeGC); + return runtime·mallocgc(n, 0, FlagNoProfiling|FlagNoGC|FlagNoZero); } void |
