go/src
Heschi Kreinick c9986d1452 runtime: fix use of wrong g in gentraceback
gentraceback gets the currently running g to do some sanity checks, but
should use gp everywhere to do its actual work. Some noncritical checks
later accidentally used g instead of gp. This seems like it could be a
problem in many different contexts, but I noticed in Windows profiling,
where profilem calls gentraceback on a goroutine from a different
thread.

Change-Id: I3da27a43e833b257f6411ee6893bdece45a9323f
Reviewed-on: https://go-review.googlesource.com/128895
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Austin Clements <austin@google.com>
2018-08-23 19:48:12 +00:00
..
archive archive/tar: remore redundant parens in type expressions 2018-08-21 01:47:17 +00:00
bufio bufio: avoid rescanning buffer multiple times in ReadSlice 2018-08-22 17:06:28 +00:00
builtin
bytes all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00
cmd cmd/vet: check embedded field tags too 2018-08-23 19:22:43 +00:00
compress
container container/heap: clarify that Remove returns the removed element 2018-08-20 18:05:11 +00:00
context context: don't talk about tools that don't exist 2018-08-22 22:11:24 +00:00
crypto all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00
database/sql database/sql: fix driverStmt.Close() comment typo 2018-08-03 03:58:03 +00:00
debug debug/pe: support windows/arm 2018-08-20 18:12:47 +00:00
encoding encoding/base64: slight decoding speed-up 2018-08-22 19:08:03 +00:00
errors
expvar
flag
fmt fmt: print values for map keys with non-reflexive equality 2018-08-22 21:32:42 +00:00
go crypto/{aes,cipher,rand}: use binary.{Big,Little}Endian methods 2018-08-21 16:15:16 +00:00
hash hash/crc64: lazily initialize slice8Tables 2018-08-21 04:50:21 +00:00
html html/template: use named consts instead of their values 2018-08-22 22:48:10 +00:00
image all: clean up some Deprecated comments 2018-07-06 17:40:56 +00:00
index/suffixarray
internal all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00
io
log
math math/big: streamline divLarge initialization 2018-08-22 22:54:01 +00:00
mime
net internal/poll, net: fix sendfile on Windows, add test 2018-08-22 21:12:00 +00:00
os all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00
path path: present the correct error message in TestMatch 2018-07-29 19:18:48 +00:00
plugin plugin: remove unused func 2018-08-22 16:29:03 +00:00
reflect reflect: add Value.MapRange method and MapIter type 2018-08-22 20:16:01 +00:00
regexp regexp/syntax: don't do both linear and binary sesarch in MatchRunePos 2018-08-22 17:11:57 +00:00
runtime runtime: fix use of wrong g in gentraceback 2018-08-23 19:48:12 +00:00
sort
strconv strconv: use bytealg implementation of IndexByteString 2018-08-22 17:04:01 +00:00
strings strings: use Builder in Repeat to avoid an allocation 2018-08-22 16:40:21 +00:00
sync cmd/vet,sync: check lock values more precisely 2018-07-14 06:48:21 +00:00
syscall internal/poll: use F_FULLFSYNC fcntl for FD.Fsync on OS X 2018-08-22 22:26:40 +00:00
testing testing: exit with error if testing.Short is called before flag.Parse 2018-08-20 21:51:11 +00:00
text text/template: Put bad function name in quotes in panic from (*Template).Funcs 2018-08-23 19:24:40 +00:00
time all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update golang.org/x/net/http2/hpack 2018-08-01 20:05:31 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
make.bat cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
make.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
naclmake.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
nacltest.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
race.bash runtime/cgo: Add initial NetBSD Thread Sanitizer support 2018-07-10 23:14:31 +00:00
race.bat
run.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.bat cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00