• Dmitriy Vyukov's avatar
    runtime: remove mal/malloc/FlagNoGC/FlagNoInvokeGC · cd2f8356
    Dmitriy Vyukov authored
    FlagNoGC is unused now.
    FlagNoInvokeGC is unneeded as we don't invoke GC
    on g0 and when holding locks anyway.
    mal/malloc have very few uses and you never remember
    the exact set of flags they use and the difference between them.
    Moreover, eventually we need to give exact types to all allocations,
    something what mal/malloc do not support.
    
    LGTM=khr
    R=golang-codereviews, khr
    CC=golang-codereviews, rsc
    https://golang.org/cl/117580043
    cd2f8356
callbacks.c 2.97 KB