• 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
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...