]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix stackDebug comment
authorAlex Brainman <alex.brainman@gmail.com>
Fri, 1 May 2015 05:53:45 +0000 (15:53 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sat, 2 May 2015 02:39:50 +0000 (02:39 +0000)
Change-Id: Ia9191bd7ecdf7bd5ee7d69ae23aa71760f379aa8
Reviewed-on: https://go-review.googlesource.com/9590
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/chan_test.go
src/runtime/stack1.go

index 0b918bb99f6966138e311afc8bdb45db05f753b5..9119371d5c6b782bf80f54bc71947da5217736c1 100644 (file)
@@ -528,7 +528,7 @@ func TestMultiConsumer(t *testing.T) {
 func TestShrinkStackDuringBlockedSend(t *testing.T) {
        // make sure that channel operations still work when we are
        // blocked on a channel send and we shrink the stack.
-       // NOTE: this test probably won't fail unless stack1.go:StackDebug
+       // NOTE: this test probably won't fail unless stack1.go:stackDebug
        // is set to >= 1.
        const n = 10
        c := make(chan int)
index 4fa1a58ea8bf271efe36a9a6fa947a51457e213b..f74694b7e9482701ceed450178786406c8d54f9a 100644 (file)
@@ -7,7 +7,7 @@ package runtime
 import "unsafe"
 
 const (
-       // StackDebug == 0: no logging
+       // stackDebug == 0: no logging
        //            == 1: logging of per-stack operations
        //            == 2: logging of per-frame operations
        //            == 3: logging of per-word updates