• Dmitriy Vyukov's avatar
    runtime: refactor mallocgc · f8a850b2
    Dmitriy Vyukov authored
    Make it accept type, combine flags.
    Several reasons for the change:
    1. mallocgc and settype must be atomic wrt GC
    2. settype is called from only one place now
    3. it will help performance (eventually settype
    functionality must be combined with markallocated)
    4. flags are easier to read now (no mallocgc(sz, 0, 1, 0) anymore)
    
    R=golang-dev, iant, nightlyone, rsc, dave, khr, bradfitz, r
    CC=golang-dev
    https://golang.org/cl/10136043
    f8a850b2
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...