• Russ Cox's avatar
    gc: tweak and enable escape analysis · db5f9da4
    Russ Cox authored
    -s now means *disable* escape analysis.
    
    Fix escape leaks for struct/slice/map literals.
    Add ... tracking.
    Rewrite new(T) and slice literal into stack allocation when safe.
    
    Add annotations to reflect.
    Reflect is too chummy with the compiler,
    so changes like these affect it more than they should.
    
    R=lvd, dave, gustavo
    CC=golang-dev
    https://golang.org/cl/4954043
    db5f9da4
Name
Last commit
Last update
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...