1
0
mirror of https://github.com/golang/go synced 2024-10-05 10:31:22 -06:00
go/src/pkg/runtime/nacl
Russ Cox d4cc557b0d runtime: use manual stack for garbage collection
Old code was using recursion to traverse object graph.
New code uses an explicit stack, cutting the per-pointer
footprint to two words during the recursion and avoiding
the standard allocator and stack splitting code.

in test/garbage:

Reduces parser runtime by 2-3%
Reduces Peano runtime by 40%
Increases tree runtime by 4-5%

R=r
CC=golang-dev
https://golang.org/cl/2150042
2010-09-07 09:57:22 -04:00
..
386 runtime: use manual stack for garbage collection 2010-09-07 09:57:22 -04:00
defs.c missing files; cleaned up g4 nothave output. 2009-09-24 13:38:18 -07:00
mem.c runtime: use manual stack for garbage collection 2010-09-07 09:57:22 -04:00
os.h changes to accommodate nacl: 2009-09-22 16:28:32 -07:00
signals.h changes to accommodate nacl: 2009-09-22 16:28:32 -07:00
thread.c runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00