aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/api
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-05-02 17:39:25 +0100
committerDmitriy Vyukov <dvyukov@google.com>2014-05-02 17:39:25 +0100
commit8afa086ce67b44abb9c9639efca214db7acf7b3f (patch)
tree0ef03554b60d166ee6590f72ee887d245249b9d9 /src/cmd/api
parent350a8fcde14e936a4af33560b5365b18e822477a (diff)
downloadgo-8afa086ce67b44abb9c9639efca214db7acf7b3f.tar.xz
runtime: do not set m->locks around memory allocation
If slice append is the only place where a program allocates, then it will consume all available memory w/o triggering GC. This was demonstrated in the issue. Fixes #7922. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews, iant, khr https://golang.org/cl/91010048
Diffstat (limited to 'src/cmd/api')
0 files changed, 0 insertions, 0 deletions