1. 24 Dec, 2019 5 commits
  2. 23 Dec, 2019 2 commits
  3. 20 Dec, 2019 6 commits
  4. 19 Dec, 2019 5 commits
  5. 18 Dec, 2019 3 commits
  6. 17 Dec, 2019 5 commits
  7. 16 Dec, 2019 4 commits
  8. 15 Dec, 2019 1 commit
  9. 13 Dec, 2019 4 commits
  10. 12 Dec, 2019 3 commits
  11. 11 Dec, 2019 2 commits
    • Bryan C. Mills's avatar
      cmd/go: allow arguments to 'go test' and 'go vet' to duplicate or override flags from GOFLAGS · a15b5d30
      Bryan C. Mills authored
      This is a minimal fix for Go 1.14, but this parsing logic is much too
      complex and seems like it will cause more trouble going forward.
      
      I intend to mail a followup change to refactor this logic for 1.15.
      
      Updates #32471
      
      Change-Id: I00ed07dcf3a23c9cd4ffa8cf764921fb5c18bcd6
      Reviewed-on: https://go-review.googlesource.com/c/go/+/210940
      Run-TryBot: Bryan C. Mills <bcmills@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarJay Conrod <jayconrod@google.com>
      a15b5d30
    • Michael Anthony Knyszek's avatar
      runtime: use inUse ranges to map in summary memory only as needed · 1b1fbb31
      Michael Anthony Knyszek authored
      Prior to this change, if the heap was very discontiguous (such as in
      TestArenaCollision) it's possible we could map a large amount of memory
      as R/W and commit it. We would use only the start and end to track what
      should be mapped, and we would extend that mapping as needed to
      accomodate a potentially fragmented address space.
      
      After this change, we only map exactly the part of the summary arrays
      that we need by using the inUse ranges from the previous change. This
      reduces the GCSys footprint of TestArenaCollision from 300 MiB to 18
      MiB.
      
      Because summaries are no longer mapped contiguously, this means the
      scavenger can no longer iterate directly. This change also updates the
      scavenger to borrow ranges out of inUse and iterate over only the
      parts of the heap which are actually currently in use. This is both an
      optimization and necessary for correctness.
      
      Fixes #35514.
      
      Change-Id: I96bf0c73ed0d2d89a00202ece7b9d089a53bac90
      Reviewed-on: https://go-review.googlesource.com/c/go/+/207758
      Run-TryBot: Michael Knyszek <mknyszek@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarAustin Clements <austin@google.com>
      1b1fbb31