1
0
mirror of https://github.com/golang/go synced 2024-10-04 08:21:22 -06:00
go/src/pkg/runtime/windows
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: fix windows build 2010-06-29 07:12:14 -07:00
defs.c rename GOOS=mingw to GOOS=windows 2010-04-29 23:45:14 -07:00
mem.c runtime: use manual stack for garbage collection 2010-09-07 09:57:22 -04:00
os.h syscall: add ForkExec, Syscall12 on Windows 2010-07-26 09:43:35 +10:00
syscall.goc syscall: add ForkExec, Syscall12 on Windows 2010-07-26 09:43:35 +10:00
thread.c runtime: free memory returned by windows GetEnvironmentStrings 2010-08-09 11:30:33 +10:00