summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/mcentral.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18Imported Upstream version 2011.02.15Ondřej Surý1-16/+9
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-2/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-33/+33
2010-03-08runtime: clock garbage collection on bytes allocated, not pages in useRuss Cox1-2/+2
This keeps fragmentation from delaying garbage collections (and causing more fragmentation). Cuts fresh godoc (with indexes) from 261M to 166M (120M live). Cuts toy wc program from 50M to 8M. Fixes issue 647. R=r, cw CC=golang-dev http://codereview.appspot.com/257041
2010-02-10runtime: tighten garbage collectorRuss Cox1-3/+14
* specialize sweepspan as sweepspan0 and sweepspan1. * in sweepspan1, inline "free" to avoid expensive mlookup. R=iant CC=golang-dev http://codereview.appspot.com/206060
2010-02-10runtime: garbage collection + malloc performanceRuss Cox1-4/+10
* add bit tracking finalizer status, avoiding getfinalizer lookup * add ability to allocate uncleared memory R=iant CC=golang-dev http://codereview.appspot.com/207044
2009-12-07runtime: don't touch pages of memory unnecessarily.Russ Cox1-1/+0
cuts working size for hello world from 6 MB to 1.2 MB. still some work to be done, but diminishing returns. R=r http://codereview.appspot.com/165080
2009-06-09mv src/lib to src/pkgRob Pike1-0/+192
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102