• Dmitriy Vyukov's avatar
    runtime: simplify MCache · c4cfef07
    Dmitriy Vyukov authored
    The nlistmin/size thresholds are copied from tcmalloc,
    but are unnecesary for Go malloc. We do not do explicit
    frees into MCache. For sparse cases when we do (mainly hashmap),
    simpler logic will do.
    
    R=rsc, dave, iant
    CC=gobot, golang-dev, r, remyoudompheng
    https://golang.org/cl/9373043
    c4cfef07
mcentral.c 4.98 KB