1. 17 Aug, 2013 1 commit
  2. 16 Aug, 2013 28 commits
  3. 15 Aug, 2013 11 commits
    • Brad Fitzpatrick's avatar
      net/http: unify the confusingly-named serve_test and server_test · 95e0a8c2
      Brad Fitzpatrick authored
      One was tiny. One was gigantic. Now one is gone and one is giganticer.
      
      No code changes.
      
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/13025043
      95e0a8c2
    • Russ Cox's avatar
      cmd/gc: &x panics if x does · 999a36f9
      Russ Cox authored
      See golang.org/s/go12nil.
      
      This CL is about getting all the right checks inserted.
      A followup CL will add an optimization pass to
      remove redundant checks.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/12970043
      999a36f9
    • Russ Cox's avatar
      spec: &x panics if x does · 5ce78b7c
      Russ Cox authored
      See golang.org/s/go12nil for the extended version.
      
      R=golang-dev, r, adonovan
      CC=golang-dev
      https://golang.org/cl/12964043
      5ce78b7c
    • Russ Cox's avatar
      tests: remove two misuses of nil pointers · 08fdf009
      Russ Cox authored
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/12858044
      08fdf009
    • Mikio Hara's avatar
      runtime: fix wrong syscall numbers on freebsd/386, openbsd/386 · ff86d222
      Mikio Hara authored
      R=golang-dev, jsing
      CC=golang-dev
      https://golang.org/cl/12876044
      ff86d222
    • Mikio Hara's avatar
      net: enable runtime-integrated network pollster on freebsd, openbsd · cb3b2922
      Mikio Hara authored
      Fixes #5199.
      
      Benchmark results on freebsd/amd64 (virtual machine):
      
      benchmark                             old ns/op    new ns/op    delta
      BenchmarkTCP4OneShot-2                   184566       187164   +1.41%
      BenchmarkTCP4OneShotTimeout-2            215558       187722  -12.91%
      BenchmarkTCP4Persistent-2                 59686        41294  -30.81%
      BenchmarkTCP4PersistentTimeout-2          60692        39974  -34.14%
      BenchmarkTCP6OneShot-2                   226595       223688   -1.28%
      BenchmarkTCP6OneShotTimeout-2            253144       225161  -11.05%
      BenchmarkTCP6Persistent-2                 69157        55605  -19.60%
      BenchmarkTCP6PersistentTimeout-2          70426        53805  -23.60%
      BenchmarkTCP4ConcurrentReadWrite-2        53878        56087   +4.10%
      BenchmarkTCP6ConcurrentReadWrite-2        66538        68190   +2.48%
      
      benchmark                            old allocs   new allocs    delta
      BenchmarkTCP4OneShot-2                       39           36   -7.69%
      BenchmarkTCP4OneShotTimeout-2                42           36  -14.29%
      BenchmarkTCP4Persistent-2                     1            0  -100.00%
      BenchmarkTCP4PersistentTimeout-2              1            0  -100.00%
      BenchmarkTCP6OneShot-2                       41           36  -12.20%
      BenchmarkTCP6OneShotTimeout-2                43           36  -16.28%
      BenchmarkTCP6Persistent-2                     1            0  -100.00%
      BenchmarkTCP6PersistentTimeout-2              1            0  -100.00%
      BenchmarkTCP4ConcurrentReadWrite-2            0            0     n/a%
      BenchmarkTCP6ConcurrentReadWrite-2            0            0     n/a%
      
      benchmark                             old bytes    new bytes    delta
      BenchmarkTCP4OneShot-2                     3084         2544  -17.51%
      BenchmarkTCP4OneShotTimeout-2              3129         2519  -19.50%
      BenchmarkTCP4Persistent-2                    30            0  -100.00%
      BenchmarkTCP4PersistentTimeout-2             31            0  -100.00%
      BenchmarkTCP6OneShot-2                     3297         2660  -19.32%
      BenchmarkTCP6OneShotTimeout-2              3306         2655  -19.69%
      BenchmarkTCP6Persistent-2                    31            0  -100.00%
      BenchmarkTCP6PersistentTimeout-2             29            0  -100.00%
      BenchmarkTCP4ConcurrentReadWrite-2            2            0  -100.00%
      BenchmarkTCP6ConcurrentReadWrite-2            7            0  -100.00%
      
      R=dvyukov, minux.ma, dave, bradfitz, alex.brainman
      CC=golang-dev
      https://golang.org/cl/8264043
      cb3b2922
    • Dmitriy Vyukov's avatar
      runtime: remove old preemption checks · f195ae94
      Dmitriy Vyukov authored
      runtime.gcwaiting checks are not needed anymore
      
      R=golang-dev, khr
      CC=golang-dev
      https://golang.org/cl/12934043
      f195ae94
    • Dmitriy Vyukov's avatar
      runtime: fix plan9 build · 67c79da8
      Dmitriy Vyukov authored
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/12986043
      67c79da8
    • Rémy Oudompheng's avatar
      doc: update go1.2.txt · 826a7396
      Rémy Oudompheng authored
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/12960043
      826a7396
    • Mikio Hara's avatar
      net: rearrange the call order of runtime-integrated network pollster and syscall functions · 5d5defc7
      Mikio Hara authored
      This CL rearranges the call order for raw networking primitives like
      the following;
      
      - For dialers that open active connections, pollDesc.Init will be
        called before syscall.Connect.
      
      - For stream listeners that open passive stream connections,
        pollDesc.Init will be called just after syscall.Listen.
      
      - For datagram listeners that open datagram connections,
        pollDesc.Init will be called just after syscall.Bind.
      
      This is in preparation for runtime-integrated network pollster for BSD
      variants.
      
      Update #5199
      
      R=golang-dev, alex.brainman
      CC=golang-dev
      https://golang.org/cl/12730043
      5d5defc7
    • Rob Pike's avatar
      time: expand acceptance of time zones when parsing · a454d2fd
      Rob Pike authored
      I tried to make it absolutely correct but there are too many
      conflicting definitions for the official list of time zones.
      Since when we're parsing we know when to expect
      a time zone and we know what they look like if not exactly
      what the definitive set is, we compromise. We accept any
      three-character sequence of upper case letters, possibly
      followed by a capital T (all four-letter zones end in T).
      
      There is one crazy special case (ChST) and the possibility
      of a signed hour offset for GMT.
      
      Fixes #3790
      I hope forever, but I doubt that very much.
      
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/12969043
      a454d2fd