1
0
mirror of https://github.com/golang/go synced 2024-10-03 02:31:21 -06:00
go/src/pkg/runtime
Russ Cox 8ddd6c4181 runtime: clock garbage collection on bytes allocated, not pages in use
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 #647.

R=r, cw
CC=golang-dev
https://golang.org/cl/257041
2010-03-08 14:15:44 -08:00
..
386 in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
amd64 in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
arm in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
darwin runtime: allow arbitrary return type in SetFinalizer. 2010-02-08 21:41:54 -08:00
freebsd runtime: fix FreeBSD build 2010-02-09 16:54:51 -08:00
linux runtime: work around Linux kernel bug in futex 2010-02-22 20:45:36 -08:00
mingw runtime: dummy gettime for mingw/386. 2010-02-12 12:49:16 -08:00
nacl fix NaCl build for latest runtime changes 2010-02-09 16:56:22 -08:00
tiny combined pchw and embedded into tiny. added section on arm to README 2010-02-18 23:33:21 -08:00
cgo2c.c finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
cgocall.c in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
cgocall.h 8c, 8l dynamic loading support. 2009-10-03 10:37:12 -07:00
chan.c cc: disallow ... argument unless NOSPLIT is set. 2010-03-04 15:34:25 -08:00
extern.go runtime: clock garbage collection on bytes allocated, not pages in use 2010-03-08 14:15:44 -08:00
float.c move math out of runtime. 2009-10-15 23:09:22 -07:00
hashmap.c cc: disallow ... argument unless NOSPLIT is set. 2010-03-04 15:34:25 -08:00
hashmap.h in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
iface.c runtime: garbage collection + malloc performance 2010-02-10 00:00:12 -08:00
Makefile Install runtime.h and cgocall.h. 2010-02-24 17:00:25 -08:00
malloc.cgo runtime: clock garbage collection on bytes allocated, not pages in use 2010-03-08 14:15:44 -08:00
malloc.h runtime: clock garbage collection on bytes allocated, not pages in use 2010-03-08 14:15:44 -08:00
mcache.c runtime: clock garbage collection on bytes allocated, not pages in use 2010-03-08 14:15:44 -08:00
mcentral.c runtime: clock garbage collection on bytes allocated, not pages in use 2010-03-08 14:15:44 -08:00
mfinal.c runtime: delete MHeapMapCache, which is useless 2010-02-10 21:23:08 -08:00
mfixalloc.c mv src/lib to src/pkg 2009-06-09 09:53:44 -07:00
mgc0.c runtime: clock garbage collection on bytes allocated, not pages in use 2010-03-08 14:15:44 -08:00
mheap.c runtime: clock garbage collection on bytes allocated, not pages in use 2010-03-08 14:15:44 -08:00
mheapmap32.c Use consistent types in .h file and .c file. 2010-02-25 10:13:09 -08:00
mheapmap32.h runtime: delete MHeapMapCache, which is useless 2010-02-10 21:23:08 -08:00
mheapmap64.c Use consistent types in .h file and .c file. 2010-02-25 10:13:09 -08:00
mheapmap64.h runtime: delete MHeapMapCache, which is useless 2010-02-10 21:23:08 -08:00
mkasmh.sh Ported runtime to Windows. 2010-01-06 17:58:55 -08:00
msize.c runtime: instrument malloc + garbage collector. 2010-02-08 14:32:22 -08:00
print.c 6g complex type usable 2010-03-05 20:16:04 -08:00
proc.c cc: disallow ... argument unless NOSPLIT is set. 2010-03-04 15:34:25 -08:00
reflect.cgo reflect fixes 2009-11-19 22:06:32 -08:00
rune.c fix range on invalid utf8 bug 2009-09-03 13:56:06 -07:00
runtime1.cgo runtime cleanup. 2010-01-13 17:50:02 -08:00
runtime.c runtime: instrument malloc + garbage collector. 2010-02-08 14:32:22 -08:00
runtime.h fixed bug in mpconst float multiply by 0. 2010-02-19 20:42:50 -08:00
sema.cgo publish semacquire and semrelease for use by sync. 2009-10-15 17:46:53 -07:00
sigqueue.cgo in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
slice.c runtime: garbage collection + malloc performance 2010-02-10 00:00:12 -08:00
string.cgo gc: implement []int(string) and []byte(string) 2010-02-25 15:11:07 -08:00
symtab.c 6l: move mapped symbol table lower in memory 2010-02-04 12:46:11 -08:00
type.go more complex - constants 2010-02-18 14:46:28 -08:00
type.h finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00