diff options
| author | Keith Randall <khr@golang.org> | 2014-09-17 08:32:15 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-09-17 08:32:15 -0700 |
| commit | 6c934238c93f8f60775409f1ab410ce9c9ea2357 (patch) | |
| tree | efec42d8353a3e0ff69b6f713fd60adafc8c88d7 /src/runtime/stack.c | |
| parent | 72a2539c38d06be486b180310d5703700f9f1f5f (diff) | |
| download | go-6c934238c93f8f60775409f1ab410ce9c9ea2357.tar.xz | |
runtime: change minimum stack size to 2K.
It will be 8K on windows because it needs 4K for the OS.
Similarly, plan9 will be 4K.
On linux/amd64, reduces size of 100,000 goroutines
from ~819MB to ~245MB.
Update #7514
LGTM=dvyukov
R=golang-codereviews, dvyukov, khr, aram
CC=golang-codereviews
https://golang.org/cl/145790043
Diffstat (limited to 'src/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions
