1
0
mirror of https://github.com/golang/go synced 2024-10-05 06:21:24 -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
mem.c runtime: use manual stack for garbage collection 2010-09-07 09:57:22 -04:00
os.h
signals.h
thread.c runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00