Skip to content

Commit

Permalink
runtime: fix stackDebug comment
Browse files Browse the repository at this point in the history
Change-Id: Ia9191bd7ecdf7bd5ee7d69ae23aa71760f379aa8
Reviewed-on: https://go-review.googlesource.com/9590
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
alexbrainman committed May 2, 2015
1 parent 8d16253 commit 031c3bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/chan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/stack1.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 031c3bc

Please sign in to comment.