Commit 031c3bc9 authored by Alex Brainman's avatar Alex Brainman

runtime: fix stackDebug comment

Change-Id: Ia9191bd7ecdf7bd5ee7d69ae23aa71760f379aa8
Reviewed-on: https://go-review.googlesource.com/9590Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 8d16253c
...@@ -528,7 +528,7 @@ func TestMultiConsumer(t *testing.T) { ...@@ -528,7 +528,7 @@ func TestMultiConsumer(t *testing.T) {
func TestShrinkStackDuringBlockedSend(t *testing.T) { func TestShrinkStackDuringBlockedSend(t *testing.T) {
// make sure that channel operations still work when we are // make sure that channel operations still work when we are
// blocked on a channel send and we shrink the stack. // 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. // is set to >= 1.
const n = 10 const n = 10
c := make(chan int) c := make(chan int)
......
...@@ -7,7 +7,7 @@ package runtime ...@@ -7,7 +7,7 @@ package runtime
import "unsafe" import "unsafe"
const ( const (
// StackDebug == 0: no logging // stackDebug == 0: no logging
// == 1: logging of per-stack operations // == 1: logging of per-stack operations
// == 2: logging of per-frame operations // == 2: logging of per-frame operations
// == 3: logging of per-word updates // == 3: logging of per-word updates
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment