1. 30 Aug, 2014 6 commits
    • Russ Cox's avatar
      runtime: increase nosplit area to 192 · 397bdb21
      Russ Cox authored
      In CL 131450043, which raised it to 160,
      I'd raise it to 192 if necessary.
      Apparently it is necessary on windows/amd64.
      
      One note for those concerned about the growth:
      in the old segmented stack world, we wasted this much
      space at the bottom of every stack segment.
      In the new contiguous stack world, each goroutine has
      only one stack segment, so we only waste this much space
      once per goroutine. So even raising the limit further might
      still be a net savings.
      
      Fixes windows/amd64 build.
      
      TBR=r
      CC=golang-codereviews
      https://golang.org/cl/132480043
      397bdb21
    • Russ Cox's avatar
      runtime: rename SysAlloc to sysAlloc for Go · 0316dafd
      Russ Cox authored
      Renaming the C SysAlloc will let Go define a prototype without exporting it.
      For use in cpuprof.goc's translation to Go.
      
      LGTM=mdempsky
      R=golang-codereviews, mdempsky
      CC=golang-codereviews, iant
      https://golang.org/cl/140060043
      0316dafd
    • Dmitriy Vyukov's avatar
      runtime: convert type algorithms to Go · d4df63c3
      Dmitriy Vyukov authored
      Actually it mostly deletes code -- alg.print and alg.copy go away.
      There was only one usage of alg.print for debug purposes.
      Alg.copy is used in chan.goc, but Keith replaces them with
      memcopy during conversion, so alg.copy is not needed as well.
      Converting them would be significant amount of work
      for no visible benefit.
      
      LGTM=crawshaw, rsc, khr
      R=golang-codereviews, crawshaw, khr
      CC=golang-codereviews, rsc
      https://golang.org/cl/139930044
      d4df63c3
    • Russ Cox's avatar
      undo CL 135230043 / 60812bad3769 · 1a976f15
      Russ Cox authored
      broke api check everywhere
      
      ««« original CL description
      runtime: fix openbsd build
      
      LGTM=iant
      R=iant, minux
      CC=golang-codereviews, jsing
      https://golang.org/cl/135230043
      
      »»»
      
      TBR=mdempsky
      CC=golang-codereviews
      https://golang.org/cl/137010043
      1a976f15
    • Alex A Skinner's avatar
      net: implement query-response fast failover in builtin dns stub resolver · 39a021bc
      Alex A Skinner authored
      Speed improvements via code cleanup, and changes to make go dns behave more like glibc resolver.  See https://groups.google.com/forum/#!topic/golang-dev/lV-0aHqxVeo
      
      Fixes #6579.
      
      Benchmark results on linux/amd64
      
      benchmark                                  old ns/op    new ns/op    delta
      BenchmarkGoLookupIP                          4831903      2572937  -46.75%
      BenchmarkGoLookupIPNoSuchHost               10114105      2419641  -76.08%
      BenchmarkGoLookupIPWithBrokenNameServer  20007735624   5004490730  -74.99%
      
      benchmark                                 old allocs   new allocs    delta
      BenchmarkGoLookupIP                              287          288    0.35%
      BenchmarkGoLookupIPNoSuchHost                    204          102  -50.00%
      BenchmarkGoLookupIPWithBrokenNameServer          410          358  -12.68%
      
      benchmark                                  old bytes    new bytes    delta
      BenchmarkGoLookupIP                            13181        13271    0.68%
      BenchmarkGoLookupIPNoSuchHost                  17260         8714  -49.51%
      BenchmarkGoLookupIPWithBrokenNameServer        28160        22432  -20.34%
      
      LGTM=mikioh.mikioh
      R=golang-codereviews, mikioh.mikioh, bradfitz, josharian, abursavich
      CC=golang-codereviews
      https://golang.org/cl/128820043
      39a021bc
    • Matthew Dempsky's avatar
      runtime: fix openbsd build · 2758cb75
      Matthew Dempsky authored
      LGTM=iant
      R=iant, minux
      CC=golang-codereviews, jsing
      https://golang.org/cl/135230043
      2758cb75
  2. 29 Aug, 2014 25 commits
  3. 28 Aug, 2014 9 commits