]> Cypherpunks repositories - gostls13.git/commit
runtime: remove holes in FUNCDATA tables
authorMatthew Dempsky <mdempsky@google.com>
Fri, 29 Aug 2014 02:08:09 +0000 (19:08 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 29 Aug 2014 02:08:09 +0000 (19:08 -0700)
commit3d128dbf96fdc5a8b6e9eccca8381fc93f685133
tree21f3ebe9ca9f4758b82d5463ac81d3a16c635ab1
parentb3de7f28a8c111043013cc539421021a32176c33
runtime: remove holes in FUNCDATA tables

Shrinks the text segment size by about 1.5% for the "go", "gofmt",
and "camlistored" commands on linux/amd64.

Before:
$ size go gofmt camlistored
   text    data     bss     dec     hex filename
6506842  136996  105784 6749622  66fdb6 go
2376046   85232   90984 2552262  26f1c6 gofmt
17051050  190256  130320 17371626 10911ea camlistored

After:
$ size go gofmt camlistored
   text    data     bss     dec     hex filename
6403034  136996  105784 6645814  656836 go
2331118   85232   90984 2507334  264246 gofmt
16842586  190256  130320 17163162 105e39a camlistored

Fixes #8604.

LGTM=rsc
R=golang-codereviews, bradfitz, rsc
CC=golang-codereviews
https://golang.org/cl/137790043
src/pkg/runtime/funcdata.h