1. 15 Jul, 2017 22 commits
  2. 14 Jul, 2017 8 commits
  3. 13 Jul, 2017 4 commits
  4. 12 Jul, 2017 4 commits
  5. 11 Jul, 2017 2 commits
    • Austin Clements's avatar
      runtime: make TestStackGrowth a serial test · 286599f2
      Austin Clements authored
      TestStackGrowth is currently a parallel test. However, it depends on a
      20 second timeout, which is already dubious in a parallel test, and
      became really problematic on slow builders when runtime.GC switched to
      triggering concurrent GC instead of STW GC. Before that change, the
      test spent much of its time in STW GC, so it wasn't *really* parallel.
      After that change, it was competing with all of the other parallel
      tests and GC likely started taking ~4 times longer. On most builders
      the whole test runs in well under a second, but on the slow builders
      that was enough to push it over the 20 second timeout.
      
      Fix this by making the test serial.
      
      Updates #19381 (probably fixes it, but we'll have to wait and see).
      
      Change-Id: I21af7cf543ab07f1ec1c930bfcb355b0df75672d
      Reviewed-on: https://go-review.googlesource.com/48110
      Run-TryBot: Austin Clements <austin@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarElias Naur <elias.naur@gmail.com>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      286599f2
    • Austin Clements's avatar
      sync/atomic: clarify 64-bit alignment bug · fea7c43e
      Austin Clements authored
      Local variables can also be relied on the be 64-bit aligned, since
      they will be escaped to the heap if used with any atomic operations.
      
      Also, allocated arrays are also aligned, just like structs and slices.
      
      Fixes #18955.
      
      Change-Id: I8a1897f6ff78922c8bfcf20d6eb4bcb17a70ba2d
      Reviewed-on: https://go-review.googlesource.com/48112Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      fea7c43e