]> Cypherpunks repositories - gostls13.git/commit
runtime: improve efence
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 13 Mar 2014 15:04:00 +0000 (19:04 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 13 Mar 2014 15:04:00 +0000 (19:04 +0400)
commitc115cda22c82e219654056f6864e9819b922febc
treee00f006154582f4a5e3981b9e8379370d755ec01
parentcdc93d24165af721030f05c9aa6c79605011ec1b
runtime: improve efence
Mark free memory blocks as unused.
On amd64 it allows the process to eat all 128 GB of heap
without killing the machine.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/74070043
src/pkg/runtime/mem_darwin.c
src/pkg/runtime/mem_dragonfly.c
src/pkg/runtime/mem_freebsd.c
src/pkg/runtime/mem_linux.c
src/pkg/runtime/mem_nacl.c
src/pkg/runtime/mem_netbsd.c
src/pkg/runtime/mem_openbsd.c
src/pkg/runtime/mem_solaris.c
src/pkg/runtime/mem_windows.c