1
0
mirror of https://github.com/golang/go synced 2024-10-05 14:01:21 -06:00
go/src
Ian Lance Taylor efd93a412e runtime: minimize time between lockextra/unlockextra
This doesn't fix a bug, but may improve performance in programs that
have many concurrent calls from C to Go.  The old code made several
system calls between lockextra and unlockextra.  That could be happening
while another thread is spinning acquiring lockextra.  This changes the
code to not make any system calls while holding the lock.

Change-Id: I50576478e478670c3d6429ad4e1b7d80f98a19d8
Reviewed-on: https://go-review.googlesource.com/18548
Reviewed-by: Russ Cox <rsc@golang.org>
2016-01-14 05:55:43 +00:00
..
archive archive/zip: fix reading, writing of zip64 archives 2016-01-07 00:44:04 +00:00
bufio bufio: clarify Read docs 2015-12-01 20:05:25 +00:00
builtin
bytes bytes: document that buffer is reused in Truncate and Reset 2015-12-18 19:40:58 +00:00
cmd cmd/go: respect internal directories during 'go run' 2016-01-14 04:01:47 +00:00
compress build: shorten a few packages with long tests 2015-12-29 15:46:44 +00:00
container
crypto cmd/internal/obj/x86: add new instructions, cleanup. 2016-01-13 14:04:44 +00:00
database/sql database/sql/driver: clarify DefaultParameterConverter docs 2016-01-13 18:15:38 +00:00
debug debug/dwarf: fix nil pointer dereference in cyclic type structures 2016-01-14 02:05:31 +00:00
encoding encoding/json: doc: Decode only writes to exported fields 2016-01-08 16:15:25 +00:00
errors
expvar
flag
fmt Revert "fmt: check newline in the end of input" 2015-12-11 06:35:20 +00:00
go cmd/go, go/build: ignore vendor directories with no Go source files 2016-01-14 03:43:57 +00:00
hash cmd/internal/obj/x86: add new instructions, cleanup. 2016-01-13 14:04:44 +00:00
html text/template,html/template: correct comment in DefinedTemplates 2015-11-24 21:52:36 +00:00
image image/color: have NYCbCrA.RGBA work in 16-bit color. 2015-12-24 06:55:33 +00:00
index/suffixarray
internal internal/syscall/windows: correct GetACP and MultiByteToWideChar 2016-01-08 16:15:59 +00:00
io io/ioutil: add examples to functions 2015-11-30 19:47:18 +00:00
log log/syslog: document that syslog is frozen 2016-01-05 22:56:07 +00:00
math math/big: fix Exp(x, x, x) for certain large x 2016-01-13 01:43:35 +00:00
mime mime: fix parsing of empty string attribute value 2015-12-05 20:14:25 +00:00
net net/http: update bundled http2 2016-01-13 22:27:38 +00:00
os runtime: for c-archive/c-shared, install signal handlers synchronously 2016-01-09 00:58:38 +00:00
path path/filepath: include test number in TestIssue13582 output 2015-12-15 06:43:35 +00:00
reflect reflect: document DeepEqual, fix case of maps with NaN keys 2015-12-11 05:50:05 +00:00
regexp regexp/syntax: fix factoring of common prefixes in alternations 2016-01-08 16:41:46 +00:00
runtime runtime: minimize time between lockextra/unlockextra 2016-01-14 05:55:43 +00:00
sort sort: improve average quicksort performance 2015-12-04 20:41:47 +00:00
strconv
strings
sync internal/race: add package 2015-11-26 16:50:31 +00:00
syscall cmd/compile: recognize Syscall-like functions for liveness analysis 2016-01-14 01:16:45 +00:00
testing testing: move comment inside T.Parallel 2016-01-06 17:59:55 +00:00
text text/template,html/template: correct comment in DefinedTemplates 2015-11-24 21:52:36 +00:00
time time: restore old error text for day out of range 2016-01-08 03:15:20 +00:00
unicode unicode/utf8: add test for FullRune 2015-12-01 10:39:06 +00:00
unsafe
vendor/golang.org/x/net/http2/hpack net/http: document GODEBUG settings, update bundled http2 2016-01-08 00:56:28 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: use consistent shebang line 2016-01-14 03:16:20 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash src: remove reference to since-deleted dist -s flag 2015-12-17 22:03:56 +00:00
make.bat
Make.dist
make.rc
nacltest.bash
race.bash cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
race.bat cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.bash cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.bat cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.rc cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00