1
0
mirror of https://github.com/golang/go synced 2024-10-04 00:21:20 -06:00
go/src/pkg
Dmitriy Vyukov 1a19f01a68 runtime/race: lazily allocate shadow memory
Currently race detector runtime maps shadow memory eagerly at process startup.
It works poorly on Windows, because Windows requires reservation in swap file
(especially problematic if several Go program runs at the same, each consuming GBs
of memory).
With this change race detector maps shadow memory lazily, so Go runtime must notify
about all new heap memory.
It will help with Windows port, but also eliminates scary 16TB virtual mememory
consumption in top output (which sometimes confuses some monitoring scripts).

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6811085
2012-11-07 12:48:58 +04:00
..
archive gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
bufio bufio: remove a little unnecessary indirection in tests. 2012-10-20 13:02:29 +11:00
builtin builtin: Changed documentation for rune type. 2012-09-18 11:01:10 -07:00
bytes gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
compress compress/flate: shrink decompressor struct for better performance 2012-11-01 13:57:24 -04:00
container container/list: fix typo 2012-10-28 21:16:50 +11:00
crypto crypto/sha1: Make sha-1 do block mixup in place 2012-11-07 13:41:02 +11:00
database/sql all: clear execute bit 2012-11-01 10:04:42 +09:00
debug debug/pe: support PE files which contain no symbol table (if NumberOfSymbols is equal to 0 in the IMAGE_FILE_HEADER structure). 2012-10-09 11:15:53 +11:00
encoding encoding/binary: skip blank fields when (en/de)coding structs 2012-11-01 12:39:20 -07:00
errors pkg: a slew of examples 2012-02-18 11:48:33 +11:00
exp exp/types: move exp/types/staging -> exp/types 2012-11-01 15:38:17 -07:00
expvar expvar: add locking to String, and use RWMutex properly throughout. 2012-03-06 09:13:26 +11:00
flag flag: fix bug in handling of booleans on error 2012-07-27 16:13:29 -07:00
fmt gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
go runtime/cgo, go/build: cgo support for FreeBSD/ARM 2012-11-03 02:22:37 +08:00
hash build: make int 64 bits on amd64 2012-09-24 20:57:01 -04:00
html gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
image image/png: update palette out-of-bounds comment. 2012-11-02 17:20:19 +11:00
index/suffixarray all: various typos 2012-03-13 17:29:07 -07:00
io io: add ByteWriter interface 2012-10-30 10:51:29 +01:00
log log/syslog: don't append \n if there is one 2012-07-27 14:22:27 -04:00
math gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
mime net,mime: Minor corrections to documentation comments. 2012-09-07 10:24:55 -07:00
net net: implement IPv6 support for windows 2012-11-07 16:58:20 +11:00
old/netchan gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
os gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
path gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
reflect reflect: improve documentation for DeepEqual regarding maps 2012-10-30 14:42:47 -07:00
regexp gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
runtime runtime/race: lazily allocate shadow memory 2012-11-07 12:48:58 +04:00
sort sort: fix comment for various Search routines 2012-11-07 05:07:46 +08:00
strconv strconv: update to unicode 6.2.0 2012-10-31 10:11:04 -07:00
strings gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
sync sync/atomic: FreeBSD/ARM support 2012-10-17 14:27:58 +08:00
syscall net: implement IPv6 support for windows 2012-11-07 16:58:20 +11:00
testing gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
text gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
time gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
unicode unicode: move unicode and related packages to Unicode 6.2.0. 2012-10-31 17:32:16 +01:00
unsafe unsafe: fix a typo 2012-10-19 16:35:15 +11:00