1. 27 Dec, 2019 2 commits
  2. 26 Dec, 2019 2 commits
    • Michael Anthony Knyszek's avatar
      runtime: disable pageAlloc tests on OpenBSD in short mode · cd1b9c1d
      Michael Anthony Knyszek authored
      This change disables pageAlloc tests on OpenBSD in short mode because
      pageAlloc holds relatively large virtual memory reservations and we make
      two during the pageAlloc tests. The runtime may also be carrying one
      such reservation making the virtual memory requirement for testing the
      Go runtime three times as much as just running a Go binary.
      
      This causes problems for folks who just want to build and test Go
      (all.bash) on OpenBSD but either don't have machines with at least 4ish
      GiB of RAM (per-process virtual memory limits are capped at some
      constant factor times the amount of physical memory) or their
      per-process virtual memory limits are low for other reasons.
      
      Fixes #36210.
      
      Change-Id: I8d89cfde448d4cd2fefff4ad6ffed90de63dd527
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212177
      Run-TryBot: Michael Knyszek <mknyszek@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
      cd1b9c1d
    • Tobias Klauser's avatar
      internal/poll: use fcntl64 on 32-bit GNU/Linux systems · 075c20ce
      Tobias Klauser authored
      Use FcntlSyscall from internal/syscall/unix to get fcntl64 on 32-bit
      Linux systems.
      
      Updates #36211
      
      Change-Id: If48a6e09606ca9f7f6e22f3e8dc9a25fb3ccaf65
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212537
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      075c20ce
  3. 24 Dec, 2019 5 commits
  4. 23 Dec, 2019 2 commits
  5. 20 Dec, 2019 6 commits
  6. 19 Dec, 2019 5 commits
  7. 18 Dec, 2019 3 commits
  8. 17 Dec, 2019 5 commits
  9. 16 Dec, 2019 4 commits
  10. 15 Dec, 2019 1 commit
  11. 13 Dec, 2019 4 commits
  12. 12 Dec, 2019 1 commit
    • Dan Scales's avatar
      runtime: force segv for nil defer function to be in deferreturn() · 22d28a24
      Dan Scales authored
      If the defer function pointer is nil, force the seg fault to happen in deferreturn
      rather than in jmpdefer. jmpdefer is used fairly infrequently now because most
      functions have open-coded defers.
      
      The open-coded defer implementation calls gentraceback() with a callback when
      looking for the first open-coded defer frame. gentraceback() throws an error if it
      is called with a callback on an LR architecture and jmpdefer is on the stack,
      because the stack trace can be incorrect in that case - see issue #8153. So, we
      want to make sure that we don't have a seg fault in jmpdefer.
      
      Fixes #36050
      
      Change-Id: Ie25e6f015d8eb170b40248dedeb26a37b7f9b38d
      Reviewed-on: https://go-review.googlesource.com/c/go/+/210978Reviewed-by: default avatarKeith Randall <khr@golang.org>
      Run-TryBot: Dan Scales <danscales@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      22d28a24