diff options
| author | Russ Cox <rsc@golang.org> | 2013-08-08 16:38:02 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-08-08 16:38:02 -0400 |
| commit | f91e682cca2eb51a0a8b1511678a5e2b4d8a83de (patch) | |
| tree | 086d471a5ea337c6437574b52f8c98019475eb5e /src/cmd/api | |
| parent | 9a9e541c4db86bb1c590b0f4657929dde4312e2b (diff) | |
| download | go-f91e682cca2eb51a0a8b1511678a5e2b4d8a83de.tar.xz | |
cmd/gc: make bitmaps shorter
Sort non-pointer-containing data to the low end of the
stack frame, and make the bitmaps only cover the
pointer-containing top end.
Generates significantly less garbage collection bitmap
for programs with large byte buffers on the stack.
Only 2% shorter for godoc, but 99.99998% shorter
in some test cases.
Fixes arm build.
TBR=golang-dev
CC=cshapiro, golang-dev, iant
https://golang.org/cl/12541047
Diffstat (limited to 'src/cmd/api')
0 files changed, 0 insertions, 0 deletions
