• Dmitriy Vyukov's avatar
    runtime: get rid of free · cecca438
    Dmitriy Vyukov authored
    Several reasons:
    1. Significantly simplifies runtime.
    2. This code proved to be buggy.
    3. Free is incompatible with bump-the-pointer allocation.
    4. We want to write runtime in Go, Go does not have free.
    5. Too much code to free env strings on startup.
    
    LGTM=khr
    R=golang-codereviews, josharian, tracey.brendan, khr
    CC=bradfitz, golang-codereviews, r, rlh, rsc
    https://golang.org/cl/116390043
    cecca438
panic.c 14.9 KB