]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: eliminate unused _GCstw phase
authorAustin Clements <austin@google.com>
Mon, 19 Oct 2015 17:57:04 +0000 (13:57 -0400)
committerAustin Clements <austin@google.com>
Wed, 21 Oct 2015 16:26:34 +0000 (16:26 +0000)
Change-Id: Ie94cd17e1975fdaaa418fa6a7b2d3b164fedc135
Reviewed-on: https://go-review.googlesource.com/16057
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go

index 2dc1bcae60a14a16b604c60f72872839f4717e8e..aa7714591de729fc5467e117fb6cea9cff4a36b2 100644 (file)
@@ -236,7 +236,6 @@ var gcBlackenPromptly bool
 
 const (
        _GCoff             = iota // GC not running; sweeping in background, write barrier disabled
-       _GCstw                    // unused state
        _GCscan                   // GC collecting roots into workbufs, write barrier ENABLED
        _GCmark                   // GC marking from workbufs, write barrier ENABLED
        _GCmarktermination        // GC mark termination: allocate black, P's help GC, write barrier ENABLED