1. 07 Jun, 2015 3 commits
    • Austin Clements's avatar
      runtime: enable write barriers during concurrent scan · 1303957d
      Austin Clements authored
      Currently, write barriers are only enabled after completion of the
      concurrent scan phase, as we enter the concurrent mark phase. However,
      stack barriers are installed during the scan phase and assume that
      write barriers will track changes to frames above the stack
      barriers. Since write barriers aren't enabled until after stack
      barriers are installed, we may miss modifications to the stack that
      happen after installing the stack barriers and before enabling write
      barriers.
      
      Fix this by enabling write barriers during the scan phase.
      
      This commit intentionally makes the minimal change to do this (there's
      only one line of code change; the rest are comment changes). At the
      very least, we should consider eliminating the ragged barrier that's
      intended to synchronize the enabling of write barriers, but now just
      wastes time. I've included a large comment about extensions and
      alternative designs.
      
      Change-Id: Ib20fede794e4fcb91ddf36f99bd97344d7f96421
      Reviewed-on: https://go-review.googlesource.com/10795Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
      1303957d
    • Austin Clements's avatar
      runtime: fix checkmarks to rescan stacks · 6f6403ed
      Austin Clements authored
      Currently checkmarks mode fails to rescan stacks because it sees the
      leftover state bits indicating that the stacks haven't changed since
      the last scan. As a result, it won't detect lost marks caused by
      failing to scan stacks correctly during regular garbage collection.
      
      Fix this by marking all stacks dirty before performing the checkmark
      phase.
      
      Change-Id: I1f06882bb8b20257120a4b8e7f95bb3ffc263895
      Reviewed-on: https://go-review.googlesource.com/10794Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
      6f6403ed
    • Dominik Honnef's avatar
      doc/go1.5.txt: correct CL for LookupEnv addition · 0599913a
      Dominik Honnef authored
      Change-Id: Ib43b21daef5d8291e03c0f0fbf56999e37e21e21
      Reviewed-on: https://go-review.googlesource.com/10820Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      0599913a
  2. 06 Jun, 2015 5 commits
  3. 05 Jun, 2015 28 commits
  4. 04 Jun, 2015 4 commits