1. 30 Mar, 2015 12 commits
  2. 29 Mar, 2015 1 commit
  3. 28 Mar, 2015 11 commits
  4. 27 Mar, 2015 14 commits
  5. 26 Mar, 2015 2 commits
    • Nigel Tao's avatar
      image/color: have YCbCr.RGBA work in 16-bit color, per the Color · 2f34e606
      Nigel Tao authored
      interface.
      
      Change-Id: Ie025753df08ae93e7a5095a3426aff15fa2016fd
      Reviewed-on: https://go-review.googlesource.com/8073Reviewed-by: 's avatarRob Pike <r@golang.org>
      2f34e606
    • Austin Clements's avatar
      runtime: disallow write barriers in handoffp and callees · 392336f9
      Austin Clements authored
      handoffp by definition runs without a P, so it's not allowed to have
      write barriers. It doesn't have any right now, but mark it
      nowritebarrier to disallow any creeping in in the future. handoffp in
      turns calls startm, newm, and newosproc, all of which are "below Go"
      and make sense to run without a P, so disallow write barriers in these
      as well.
      
      For most functions, we've done this because they may race with
      stoptheworld() and hence must not have write barriers. For these
      functions, it's a little different: the world can't stop while we're
      in handoffp, so this race isn't present. But we implement this
      restriction with a somewhat broader rule that you can't have a write
      barrier without a P. We like this rule because it's simple and means
      that our write barriers can depend on there being a P, even though
      this rule is actually a little broader than necessary. Hence, even
      though there's no danger of the race in these functions, we want to
      adhere to the broader rule.
      
      Change-Id: Ie22319c30eea37d703eb52f5c7ca5da872030b88
      Reviewed-on: https://go-review.googlesource.com/8130
      Run-TryBot: Austin Clements <austin@google.com>
      Reviewed-by: 's avatarMinux Ma <minux@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
      392336f9