1. 17 Sep, 2013 4 commits
    • Carl Shapiro's avatar
      runtime: export PCDATA value reader · 16d6b6c7
      Carl Shapiro authored
      This interface is required to use the PCDATA interface
      implemented in Go 1.2.  While initially entirely private, the
      FUNCDATA side of the interface has been made public.  This
      change completes the FUNCDATA/PCDATA interface.
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/13735043
      16d6b6c7
    • Rémy Oudompheng's avatar
      cmd/gc, runtime: inline append in frontend. · 045dbeaf
      Rémy Oudompheng authored
      A new transformation during walk turns append calls
      into a combination of growslice and memmove.
      
      benchmark                     old ns/op    new ns/op    delta
      BenchmarkAppend                     141          141   +0.00%
      BenchmarkAppend1Byte                 18           11  -39.56%
      BenchmarkAppend4Bytes                19           10  -42.63%
      BenchmarkAppend7Bytes                18           10  -42.16%
      BenchmarkAppend8Bytes                18           10  -40.44%
      BenchmarkAppend15Bytes               19           11  -41.67%
      BenchmarkAppend16Bytes               19           11  -41.97%
      BenchmarkAppend32Bytes               23           14  -38.82%
      BenchmarkAppendStr1Byte              14           10  -23.78%
      BenchmarkAppendStr4Bytes             14           11  -21.13%
      BenchmarkAppendStr8Bytes             14           10  -25.17%
      BenchmarkAppendStr16Bytes            19           11  -41.45%
      BenchmarkAppendStr32Bytes            18           14  -19.44%
      BenchmarkAppendSpecialCase           62           63   +1.77%
      
      R=golang-dev, khr, cshapiro, rsc, dave
      CC=golang-dev
      https://golang.org/cl/12815046
      045dbeaf
    • Russ Cox's avatar
      cmd/nm: make -S listing a bit more accurate · 00061219
      Russ Cox authored
      Hide container symbols like text and etext so that
      the individual pieces inside are shown instead.
      For example, if text and main.init have the same
      address, it was a toss-up which name was printed.
      
      R=golang-dev, iant
      CC=golang-dev
      https://golang.org/cl/13722046
      00061219
    • Russ Cox's avatar
      build: disable precise collection of stack frames · 30ecb4cd
      Russ Cox authored
      The code for call site-specific pointer bitmaps was not ready in time,
      but the zeroing required without it is too expensive to use by default.
      We will have to wait for precise collection of stack frames until Go 1.3.
      
      The precise collection can be re-enabled by
      
              GOEXPERIMENT=precisestack ./all.bash
      
      but that will not be the default for a Go 1.2 build.
      
      Fixes #6087.
      
      R=golang-dev, jeremyjackins, dan.kortschak, r
      CC=golang-dev
      https://golang.org/cl/13677045
      30ecb4cd
  2. 16 Sep, 2013 24 commits
  3. 15 Sep, 2013 4 commits
  4. 14 Sep, 2013 1 commit
    • Rémy Oudompheng's avatar
      cmd/gc: don't generate algs for internal map types. · 04c40c97
      Rémy Oudompheng authored
      Fake types describing the internal structure of hashmaps are
      generated for use by precise GC.
      
      Generating hash and eq functions for these fake types slows down
      the build and wastes space: the go tool binary size is 13MB
      instead of 12MB, and the package size on amd64 is 48.7MB instead
      of 45.3MB.
      
      R=golang-dev, daniel.morsing, r, khr, rsc, iant
      CC=golang-dev
      https://golang.org/cl/13698043
      04c40c97
  5. 13 Sep, 2013 7 commits