]> Cypherpunks repositories - gostls13.git/commit
runtime: tighten garbage collector
authorRuss Cox <rsc@golang.org>
Wed, 10 Feb 2010 22:59:39 +0000 (14:59 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 10 Feb 2010 22:59:39 +0000 (14:59 -0800)
commitfb94be55dc2d93544189fccef0decee39121e57b
tree0dbbf480c327623e3dfa663515f6e08cad92f8e8
parent991a968f44010667faf58ce96626ac5b03c12fa2
runtime: tighten garbage collector
 * specialize sweepspan as sweepspan0 and sweepspan1.
 * in sweepspan1, inline "free" to avoid expensive mlookup.

R=iant
CC=golang-dev
https://golang.org/cl/206060
src/pkg/runtime/malloc.h
src/pkg/runtime/mcentral.c
src/pkg/runtime/mgc0.c