• Keith Randall's avatar
    runtime: rewrite malloc in Go. · 4aa50434
    Keith Randall authored
    This change introduces gomallocgc, a Go clone of mallocgc.
    Only a few uses have been moved over, so there are still
    lots of uses from C. Many of these C uses will be moved
    over to Go (e.g. in slice.goc), but probably not all.
    What should remain of C's mallocgc is an open question.
    
    LGTM=rsc, dvyukov
    R=rsc, khr, dave, bradfitz, dvyukov
    CC=golang-codereviews
    https://golang.org/cl/108840046
    4aa50434
mem.go 2.27 KB