]> Cypherpunks repositories - gostls13.git/commit
runtime: lift state variables from func gc to var work
authorAustin Clements <austin@google.com>
Fri, 23 Oct 2015 19:17:04 +0000 (15:17 -0400)
committerAustin Clements <austin@google.com>
Thu, 5 Nov 2015 21:23:06 +0000 (21:23 +0000)
commit19596215844dabd6318f460d5b179b35e54748af
tree8590d2d5767754259abb881f5c1b3de741e6fefb
parent1698018955a712608476892798c992b99aad101a
runtime: lift state variables from func gc to var work

We're about to split func gc across several functions, so lift the
local variables it uses for tracking statistics and state across the
cycle into the global "work" variable.

Change-Id: Ie955f2f1758c7f5a5543ea1f3f33b222bc4b1d37
Reviewed-on: https://go-review.googlesource.com/16353
Reviewed-by: Rick Hudson <rlh@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/mgc.go