1. 19 Jul, 2017 3 commits
    • Jaana Burcu Dogan's avatar
      doc: add an editor guide · 77ee861c
      Jaana Burcu Dogan authored
      The Go ecosystem provides many tools to make Go
      development more productive and seamless. Document
      the availability of the editor plugins and IDEs,
      add an overview of feature support and screencasts.
      
      Updates #20398.
      Updates #20402.
      Updates #20399.
      Updates #20401.
      Updates #20569.
      
      Change-Id: I0c6cb48eb4e3848807aaad78390493e14f097916
      Reviewed-on: https://go-review.googlesource.com/45772Reviewed-by: 's avatarSteve Francia <spf@golang.org>
      77ee861c
    • Austin Clements's avatar
      runtime: only trace mark assists that do work · ffd5687a
      Austin Clements authored
      Currently we trace mark assists even if they're satisfied entirely by
      stealing. This means even if background marking is keeping up with
      allocation, we'll still emit a trace event every N bytes of
      allocation. The event will be a few microseconds, if that, but they're
      frequent enough that, when zoomed out in the trace view, it looks like
      all of the time is spent in mark assists even if almost none is.
      
      Change this so we only emit a trace event if the assist actually has
      to do assisting. This makes the traces of these events far more
      useful.
      
      Change-Id: If4aed1c413b814341ef2fba61d2f10751d00451b
      Reviewed-on: https://go-review.googlesource.com/50030
      Run-TryBot: Austin Clements <austin@google.com>
      Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
      ffd5687a
    • Michael Munday's avatar
      cmd/compile: fix unaligned loads/stores to global variables on s390x · 93b7eb97
      Michael Munday authored
      Load/store-merging and move optimizations can result in unaligned
      memory accesses. This is fine so long as the load/store instruction
      used does not take a relative offset. In the SSA rules this means we
      must not merge (MOVDaddr (SB)) ops into loads/stores unless we can
      guarantee the alignment of the target.
      
      Fixes #21048.
      
      Change-Id: I70f13a62a148d5f0a56e704e8f76e36b4a4226d9
      Reviewed-on: https://go-review.googlesource.com/49250
      Run-TryBot: Michael Munday <mike.munday@ibm.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
      93b7eb97
  2. 18 Jul, 2017 5 commits
    • Ian Lance Taylor's avatar
      net/http: fix parameter name in comment · 83fb9c8d
      Ian Lance Taylor authored
      Fixes #21077
      
      Change-Id: Ic61d7313907f58ff4027fd2eee1ddb8c1656304d
      Reviewed-on: https://go-review.googlesource.com/49712Reviewed-by: 's avatarDmitri Shuralyov <shurcool@gmail.com>
      83fb9c8d
    • Austin Clements's avatar
      runtime: move tSweepTerm capture closer to STW · 73d02735
      Austin Clements authored
      tSweepTerm and pauseStart are supposed to be when STW was triggered,
      but right now they're captured a bit before STW. Move these down to
      immediately before we trigger STW.
      
      Fixes #19590.
      
      Change-Id: Icd48a5c4d45c9b36187ff986e4f178b5064556c1
      Reviewed-on: https://go-review.googlesource.com/49612
      Run-TryBot: Austin Clements <austin@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      73d02735
    • Austin Clements's avatar
      runtime: always use 2MB stacks on 64-bit Windows · c2c07c79
      Austin Clements authored
      Currently, Windows stacks are either 128kB or 2MB depending on whether
      the binary uses cgo. This is because we assume that Go system stacks
      and the small amount of C code invoked by the standard library can
      operate within smaller stacks, but general Windows C code assumes
      larger stacks.
      
      However, it's easy to call into arbitrary C code using the syscall
      package on Windows without ever importing cgo into a binary. Such
      binaries need larger system stacks even though they don't use cgo.
      
      Fix this on 64-bit by increasing the system stack size to 2MB always.
      This only costs address space, which is free enough on 64-bit to not
      worry about. We keep (for now) the existing heuristic on 32-bit, where
      address space comes at more of a premium.
      
      Updates #20975.
      
      Change-Id: Iaaaa9a2fcbadc825cddc797aaaea8d34ef8debf2
      Reviewed-on: https://go-review.googlesource.com/49331
      Run-TryBot: Austin Clements <austin@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarAlex Brainman <alex.brainman@gmail.com>
      c2c07c79
    • Alexey Palazhchenko's avatar
      database/sql: fix wrong method name in description · e9b9dfe3
      Alexey Palazhchenko authored
      Change-Id: Ie6a88b70d7c45c59995ee2f57fb28f9a3cbb404d
      Reviewed-on: https://go-review.googlesource.com/49470Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      e9b9dfe3
    • Brad Fitzpatrick's avatar
      A+C: final updates for Go 1.9 · 235aff0a
      Brad Fitzpatrick authored
      Add Adam Kisala (individual CLA)
      Add Aditya Mukerjee (individual CLA)
      Add Akhil Indurti (individual CLA)
      Add André Carvalho (individual CLA)
      Add Andy Walker (individual CLA)
      Add Awn Umar (individual CLA)
      Add Bastian Ike (individual CLA)
      Add Brian Downs (individual CLA)
      Add Cody Oss (individual CLA)
      Add Costin Chirvasuta (corporate CLA for Google Inc.)
      Add Dan Ballard (individual CLA)
      Add Dong-hee Na (individual CLA)
      Add Dylan Waits (individual CLA)
      Add Evan Hicks (individual CLA)
      Add Fannie Zhang (corporate CLA for ARM Ltd.)
      Add Francisco Rojas (individual CLA)
      Add Gabriel Nicolas Avellaneda (individual CLA)
      Add Gabríel Arthúr Pétursson (individual CLA)
      Add Greg Poirier (individual CLA)
      Add Iccha Sethi (individual CLA)
      Add Ivan Moscoso (individual CLA)
      Add Jamie Kerr (individual CLA)
      Add Joe Kyo (individual CLA)
      Add Joey Geiger (individual CLA)
      Add John R. Lenton (individual CLA)
      Add Johnny Luo (individual CLA)
      Add Josh Roppo (individual CLA)
      Add Kate Manson (individual CLA)
      Add Leo Rudberg (corporate CLA for Google Inc.)
      Add Ma Peiqi (individual CLA)
      Add Martynas Budriūnas (corporate CLA for Google Inc.)
      Add Maryan Hratson (individual CLA)
      Add Michael Edwards (individual CLA)
      Add Michael Hendricks (individual CLA)
      Add Pablo Santiago Blum de Aguiar (individual CLA)
      Add Pat Moroney (individual CLA)
      Add Shi Han Ng (individual CLA)
      Add Steven Buss (corporate CLA for Google Inc.)
      Add Suzy Mueller (corporate CLA for Google Inc.)
      Add Taro Aoki (individual CLA)
      Add Tim Heckman (individual CLA)
      Add Tony Walker (individual CLA)
      Add Yasha Bubnov (individual CLA)
      
      Updates #12042
      
      Change-Id: Iee063dd6c5a39de16907acfb5af87e81a05ab417
      Reviewed-on: https://go-review.googlesource.com/49351Reviewed-by: 's avatarAndrew Bonventre <andybons@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      235aff0a
  3. 17 Jul, 2017 7 commits
  4. 16 Jul, 2017 3 commits
  5. 15 Jul, 2017 22 commits