]> Cypherpunks repositories - gostls13.git/commit
runtime: delete MHeapMapCache, which is useless
authorRuss Cox <rsc@golang.org>
Thu, 11 Feb 2010 05:23:08 +0000 (21:23 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 11 Feb 2010 05:23:08 +0000 (21:23 -0800)
commit22a7f2a14d8fd870913942707dd3f30a30bb1eeb
tree3ff6573c09dd6d13814515ecae0ac692fc7cc758
parentfc8e3d4004a1d583d329aa5055407c83e52bd581
runtime: delete MHeapMapCache, which is useless
because free needs to mark the block as freed to
coordinate with the garbage collector.

(in C++ free can blindly put the block on the free list,
no questions asked, so the cache saves some work.)

R=iant
CC=golang-dev
https://golang.org/cl/206069
src/pkg/runtime/malloc.cgo
src/pkg/runtime/malloc.h
src/pkg/runtime/mfinal.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/mheapmap32.h
src/pkg/runtime/mheapmap64.h