• Russ Cox's avatar
    runtime: merge mallocgc, gomallocgc · bffb0590
    Russ Cox authored
    I assumed they were the same when I wrote
    cgocallback.go earlier today. Merge them
    to eliminate confusion.
    
    I can't tell what gomallocgc did before with
    a nil type but without FlagNoScan.
    I created a call like that in cgocallback.go
    this morning, translating from a C file.
    It was supposed to do what the C version did,
    namely treat the block conservatively.
    Now it will.
    
    LGTM=khr
    R=khr
    CC=golang-codereviews
    https://golang.org/cl/141810043
    bffb0590
cgocallback.go 1.16 KB