]> Cypherpunks repositories - gostls13.git/commit
runtime: fix heap coalescing bug introduced in cl/9802043
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 31 May 2013 06:58:50 +0000 (10:58 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 31 May 2013 06:58:50 +0000 (10:58 +0400)
commit9ba551bb87892e29769b15625b5a135a402b9e8b
tree1e8c8df8d24888cdad54cddb85275966a352bc5e
parent86da989ee53f85044c04a418e5ec30e111d169b0
runtime: fix heap coalescing bug introduced in cl/9802043
mheap.map become a pointer, so nelem(h->map) returns 1 rather than the map size.
As the result coalescing with subsequent spans does not happen.

R=golang-dev, khr
CC=golang-dev
https://golang.org/cl/9649046
src/pkg/runtime/mheap.c