• Russ Cox's avatar
    runtime: adjust traceback / garbage collector boundary · e58f798c
    Russ Cox authored
    The garbage collection routine addframeroots is duplicating
    logic in the traceback routine that calls it, sometimes correctly,
    sometimes incorrectly, sometimes incompletely.
    Pass necessary information to addframeroots instead of
    deriving it anew.
    
    Should make addframeroots significantly more robust.
    It's certainly smaller.
    
    Also try to standardize on uintptr for saved pc, sp values.
    
    Will make CL 10036044 trivial.
    
    R=golang-dev, dave, dvyukov
    CC=golang-dev
    https://golang.org/cl/10169045
    e58f798c
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...