]> Cypherpunks repositories - gostls13.git/commit
runtime: allow copying of onM frame
authorDmitriy Vyukov <dvyukov@google.com>
Tue, 19 Aug 2014 10:24:03 +0000 (14:24 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Tue, 19 Aug 2014 10:24:03 +0000 (14:24 +0400)
commit9198ed4bd6ec7b7dd37aa2797e96f15ddbb1e6cd
treeafeab7e96da190a9804f1ecb0de8fe9399f70930
parent266d350f5e0a47dd831684eb60b69a6409ca0085
runtime: allow copying of onM frame
Currently goroutines in onM can't be copied/shrunk
(including the very goroutine that triggers GC).
Special case onM to allow copying.

LGTM=daniel.morsing, khr
R=golang-codereviews, daniel.morsing, khr, rsc
CC=golang-codereviews, rlh
https://golang.org/cl/124550043
src/pkg/runtime/stack.c