]> Cypherpunks repositories - gostls13.git/commit
runtime: split gc_m into gcMark and gcSweep
authorRuss Cox <rsc@golang.org>
Thu, 19 Feb 2015 21:43:27 +0000 (16:43 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 20 Feb 2015 17:00:39 +0000 (17:00 +0000)
commit89a091de2405d0b03c015a322ac27bc749aaca8a
tree3a376aa1939c50885907ad2125621d3eb7b35a76
parent929597b9e956b0231140db741dc437feee95a65a
runtime: split gc_m into gcMark and gcSweep

This is a nice split but more importantly it provides a better
way to fit the checkmark phase into the sequencing.

Also factor out common span copying into gcSpanCopy.

Change-Id: Ia058644974e4ed4ac3cf4b017a3446eb2284d053
Reviewed-on: https://go-review.googlesource.com/5333
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/mgcsweep.go