]> Cypherpunks repositories - gostls13.git/commit
runtime/gc: Run garbage collector on g0 stack
authorKeith Randall <khr@golang.org>
Sat, 1 Jun 2013 03:43:33 +0000 (20:43 -0700)
committerKeith Randall <khr@golang.org>
Sat, 1 Jun 2013 03:43:33 +0000 (20:43 -0700)
commit71f061043df89b1c1150b4ed2bf2d70a78b2af0d
tree56eb2df8f410b954b0537b93bb4a7f7c06c58412
parentaf7f7b7515a335b593049f04d4fedff7c7c7d128
runtime/gc: Run garbage collector on g0 stack
instead of regular g stack. We do this so that the g stack
we're currently running on is no longer changing.  Cuts
the root set down a bit (g0 stacks are not scanned, and
we don't need to scan gc's internal state).  Also an
enabler for copyable stacks.

R=golang-dev, cshapiro, khr, 0xe2.0x9a.0x9b, dvyukov, rsc, iant
CC=golang-dev
https://golang.org/cl/9754044
src/pkg/runtime/mgc0.c