]> Cypherpunks repositories - gostls13.git/commit
runtime: malloc fixes
authorRuss Cox <rsc@golang.org>
Fri, 4 Dec 2009 01:22:23 +0000 (17:22 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 4 Dec 2009 01:22:23 +0000 (17:22 -0800)
commit7e5055ceea61339e8d91a41986736990b645c34e
treee7ecf90ed7627f6ff0d0e92e4949d5dd52a33204
parent10a349a7c154e4ee4f21a8027a9577f41de5e4f1
runtime: malloc fixes
  * throw away dead code
  * add mlookup counter
  * add malloc counter
  * set up for blocks with no pointers

Fixes #367.

R=r
https://golang.org/cl/165050
src/pkg/malloc/malloc.go
src/pkg/runtime/iface.c
src/pkg/runtime/malloc.cgo
src/pkg/runtime/malloc.h
src/pkg/runtime/mem.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/runtime.h