• Keith Randall's avatar
    runtime/gc: Run garbage collector on g0 stack · 71f06104
    Keith Randall authored
    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
    71f06104
mgc0.c 61.6 KB