1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:20:11 -07:00
go/src
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
..
archive archive/zip: add missing argument to error message 2016-03-15 19:13:21 +00:00
bufio
builtin
bytes bytes: correct comment about usage of bytes.Buffer by Printf 2016-03-10 15:54:08 +00:00
cmd runtime: record channel in sudog 2016-03-16 20:13:02 +00:00
compress compress/flate: optimize huffman bit encoder 2016-03-11 17:40:52 +00:00
container
crypto crypto/tls: minor refactors for readability 2016-03-14 21:17:37 +00:00
database/sql
debug
encoding encoding/base64: correct DecodedLen overestimate for unpadded encodings 2016-03-15 20:43:04 +00:00
errors
expvar
flag
fmt fmt: reuse buffer and add range checks for %c and %q 2016-03-16 05:13:29 +00:00
go cmd/compile: keep variable numbering for inlineable exported functions 2016-03-14 21:56:25 +00:00
hash
html
image
index/suffixarray
internal
io
log
math math/big: fix comment typos 2016-03-15 20:41:15 +00:00
mime
net net/http: use dynamic type assertion to remove HTTP server code from cmd/go 2016-03-16 19:43:44 +00:00
os os/user: allow LookupGroupId to fail during test 2016-03-15 16:25:40 +00:00
path path: fix up bizarre test 2016-03-16 03:59:03 +00:00
reflect cmd/compile: compute second method type at runtime 2016-03-15 19:57:40 +00:00
regexp
runtime runtime: record channel in sudog 2016-03-16 20:13:02 +00:00
sort
strconv
strings
sync sync: new Cond implementation 2016-03-15 22:01:20 +00:00
syscall syscall: add NO_LOCAL_POINTERS to syscall.exit in plan9_arm 2016-03-09 16:32:02 +00:00
testing
text
time
unicode
unsafe
vendor
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc