]> Cypherpunks repositories - gostls13.git/commit
runtime: avoid span root marking entirely during mark termination
authorAustin Clements <austin@google.com>
Fri, 11 Mar 2016 18:54:55 +0000 (13:54 -0500)
committerAustin Clements <austin@google.com>
Tue, 26 Apr 2016 23:39:58 +0000 (23:39 +0000)
commitefb0c55407cdbef6aa5471f057b8afd1d0303369
treebbe3f11078056825696571dcd510ddbeea90af9d
parente8337491aa6b6a5f96f31077764352549dc34159
runtime: avoid span root marking entirely during mark termination

Currently we enqueue span root mark jobs during both concurrent mark
and mark termination, but we make the job a no-op during mark
termination.

This is silly. Instead of queueing them up just to not do them, don't
queue them up in the first place.

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