]> Cypherpunks repositories - gostls13.git/commit
runtime: use only per-P gcWork
authorAustin Clements <austin@google.com>
Mon, 23 Nov 2015 23:45:18 +0000 (18:45 -0500)
committerAustin Clements <austin@google.com>
Thu, 25 Feb 2016 23:37:27 +0000 (23:37 +0000)
commit0168c2676f73071331cd385cb3d174313c857738
treebc9fed664a1865f43abcfac30342c4c8e06ca2a7
parent7b229001e710f48134a51b2f5abebda4b35d9de4
runtime: use only per-P gcWork

Currently most uses of gcWork use the per-P gcWork, but there are two
places that still use a stack-based gcWork. Simplify things by making
these instead use the per-P gcWork.

Change-Id: I712d012cce9dd5757c8541824e9641ac1c2a329c
Reviewed-on: https://go-review.googlesource.com/19636
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
src/runtime/mgcwork.go