• Dmitriy Vyukov's avatar
    runtime: delete unnecessary confusing code · d3be3daa
    Dmitriy Vyukov authored
    The code in GC that handles gp->gobuf.ctxt is wrong,
    because it does not mark the ctxt object itself,
    if just queues the ctxt object for scanning.
    So the ctxt object can be collected as garbage.
    However, Gobuf.ctxt is void*, so it's always marked and
    scanned through G.
    
    LGTM=khr
    R=golang-codereviews, khr
    CC=golang-codereviews, khr, rsc
    https://golang.org/cl/105490044
    d3be3daa
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
nacltest.bash Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...