]> Cypherpunks repositories - gostls13.git/commit
runtime: decentralize concurrent sweep termination
authorAustin Clements <austin@google.com>
Fri, 23 Oct 2015 19:04:37 +0000 (15:04 -0400)
committerAustin Clements <austin@google.com>
Thu, 5 Nov 2015 21:23:22 +0000 (21:23 +0000)
commit9630c47e8c86a3fabc008eab9f239480b1d4f8e5
treee952f9c032054c92f1009dd4ab1bad23d8a0c06f
parentf54bcedce19a2c5aed897a8697e65ba037a8f53d
runtime: decentralize concurrent sweep termination

This moves concurrent sweep termination from the coordinator to the
off->mark transition. This allows it to be performed by all Gs
attempting to start the GC.

Updates #11970.

Change-Id: I24428e8599a759398c2ef7ec996ba755a448f947
Reviewed-on: https://go-review.googlesource.com/16356
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