]> Cypherpunks repositories - gostls13.git/commit
runtime: minor clarifications of markroot
authorAustin Clements <austin@google.com>
Mon, 14 Sep 2015 18:28:09 +0000 (14:28 -0400)
committerAustin Clements <austin@google.com>
Mon, 14 Sep 2015 19:37:44 +0000 (19:37 +0000)
commit4ac4085f8e75a92bf622622ad10f7aecdda5afdc
tree91e048db82c73eee567c675d3b312858644d7ce3
parenta1cad70a2fd1ce497cd90d4caedb0f877558bd6f
runtime: minor clarifications of markroot

This puts the _Root* indexes in a more friendly order and tweaks
markrootSpans to use a for-range loop instead of its own indexing.

Change-Id: I2c18d55c9a673ea396b6424d51ef4997a1a74825
Reviewed-on: https://go-review.googlesource.com/14548
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go
src/runtime/mgcmark.go