]> Cypherpunks repositories - gostls13.git/commit
runtime: remove unnecessary gcworkdone resetting loop
authorAustin Clements <austin@google.com>
Wed, 25 Feb 2015 03:05:26 +0000 (22:05 -0500)
committerAustin Clements <austin@google.com>
Wed, 25 Feb 2015 15:46:21 +0000 (15:46 +0000)
commit37b85971781c6474f17c6b99bf4d40765497afd3
treeee24c407b3c98a0a2eef0134ff681a4e83dbff90
parent7abdc90fe372b39946f46884d06f953f4f675316
runtime: remove unnecessary gcworkdone resetting loop

The loop in gcMark is redundant with the gcworkdone resetting
performed by markroot, which called a few lines later in gcMark.

Change-Id: Ie0a826a614ecfa79e6e6b866e8d1de40ba515856
Reviewed-on: https://go-review.googlesource.com/5880
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go