1
0
mirror of https://github.com/golang/go synced 2024-10-04 23:21:20 -06:00
go/src/cmd
Austin Clements e4a95b6343 runtime: record channel in sudog
Given a G, there's currently no way to find the channel it's blocking
on. We'll need this information to fix a (probably theoretical) bug in
select and to implement concurrent stack shrinking, so record the
channel in the sudog.

For #12967.

Change-Id: If8fb63a140f1d07175818824d08c0ebeec2bdf66
Reviewed-on: https://go-review.googlesource.com/20035
Reviewed-by: Rick Hudson <rlh@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-16 20:13:02 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm cmd/compile: convert data siz to int 2016-03-14 20:22:21 +00:00
cgo all: single space after period. 2016-03-02 00:13:47 +00:00
compile runtime: record channel in sudog 2016-03-16 20:13:02 +00:00
cover all: single space after period. 2016-03-02 00:13:47 +00:00
dist cmd/dist: build bootstrap toolchain with -l 2016-03-14 21:30:33 +00:00
doc all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
fix all: single space after period. 2016-03-02 00:13:47 +00:00
go testing: implement 'Unordered Output' in Examples. 2016-03-09 04:34:41 +00:00
gofmt all: single space after period. 2016-03-02 00:13:47 +00:00
internal cmd: collapse internal/obj/fmt.go into compile/internal/gc/fmt.go 2016-03-15 22:08:05 +00:00
link cmd/compile: compute second method type at runtime 2016-03-15 19:57:40 +00:00
nm all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
objdump cmd/objdump: skip TestDisasm* for mips64{,le} 2015-09-10 18:27:09 +00:00
pack all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
pprof cmd/pprof: fix crash with invalid source 2016-03-13 20:38:16 +00:00
trace all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
vet cmd/vet: added some missing copylock checks 2016-03-16 05:12:48 +00:00
yacc Rewrite leftover references to plan9.bell-labs.com to 9p.io. 2016-03-06 07:07:01 +00:00