]> Cypherpunks repositories - gostls13.git/commit
runtime: fix concurrent GC sweep
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 13 Feb 2014 15:36:45 +0000 (19:36 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 13 Feb 2014 15:36:45 +0000 (19:36 +0400)
commitf8e4a2ef94f852c9f112e118f4d266b97839c3c9
tree60f30055fb13938b1561f2fa4c6672d62d09f37a
parent9c767b64ee46ccdf6d483946ad5bffe967574989
runtime: fix concurrent GC sweep
The issue was that one of the MSpan_Sweep callers
was doing sweep with preemption enabled.
Additional checks are added.

LGTM=rsc
R=rsc, dave
CC=golang-codereviews
https://golang.org/cl/62990043
src/pkg/runtime/mgc0.c