]> Cypherpunks repositories - gostls13.git/commit
runtime: earlier detection of unused spans.
authorSébastien Paolacci <sebastien.paolacci@gmail.com>
Mon, 28 Jan 2013 17:53:35 +0000 (12:53 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 28 Jan 2013 17:53:35 +0000 (12:53 -0500)
commit09ea3b518ee6fd45a7b09b7f34a4ef84c5159240
treeb46a6822c30fbec58b6ede3c3335077297681180
parenta8e0a75726c07cdbb8ce5f2e72a1bc54e392ad13
runtime: earlier detection of unused spans.

Mark candidate spans one GC pass earlier.

Move scavenger's code out from mgc0 and constrain it into mheap (where it belongs).

R=rsc, dvyukov, minux.ma
CC=golang-dev
https://golang.org/cl/7002049
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c