]> Cypherpunks repositories - gostls13.git/commit
runtime: don't touch pages of memory unnecessarily.
authorRuss Cox <rsc@golang.org>
Mon, 7 Dec 2009 23:52:14 +0000 (15:52 -0800)
committerRuss Cox <rsc@golang.org>
Mon, 7 Dec 2009 23:52:14 +0000 (15:52 -0800)
commit0d3301a557c1c8da66e5181bb93ceefc3dd3369d
tree7b3b4f1b9c5102b5fd3eeb766331be5d5c34040e
parent33649bd2780ec6fd28d6812769f9a1ad5ff3118b
runtime: don't touch pages of memory unnecessarily.
cuts working size for hello world from 6 MB to 1.2 MB.
still some work to be done, but diminishing returns.

R=r
https://golang.org/cl/165080
src/pkg/runtime/malloc.h
src/pkg/runtime/mcentral.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/mheapmap32.c
src/pkg/runtime/mheapmap64.c
src/pkg/runtime/proc.c
src/pkg/runtime/symtab.c