diff options
| author | Rick Hudson <rlh@golang.org> | 2015-03-05 17:33:08 -0500 |
|---|---|---|
| committer | Rick Hudson <rlh@golang.org> | 2015-03-10 15:04:12 +0000 |
| commit | d0eab030913e067012714d72811d959ce849e7a2 (patch) | |
| tree | be7db9fd1ec09257a3e56ef1e59ad60ff96b03ca /src/syscall/exec_linux.go | |
| parent | 919fd24884df1873755e4837f400372ce71b160b (diff) | |
| download | go-d0eab030913e067012714d72811d959ce849e7a2.tar.xz | |
runtime: Adjust when write barriers are active
Even though the world is stopped the GC may do pointer
writes that need to be protected by write barriers.
This means that the write barrier must be on
continuously from the time the mark phase starts and
the mark termination phase ends. Checks were added to
ensure that no allocation happens during a GC.
Hoist the logic that clears pools the start of the GC
so that the memory can be reclaimed during this GC cycle.
Change-Id: I9d1551ac5db9bac7bac0cb5370d5b2b19a9e6a52
Reviewed-on: https://go-review.googlesource.com/6990
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
