1
0
mirror of https://github.com/golang/go synced 2024-11-20 00:44:45 -07:00
go/src
Austin Clements cb10ff1ef9 runtime: report next_gc for initial heap size in gctrace
Currently, the initial heap size reported in the gctrace line is the
heap_live right before sweep termination. However, we triggered GC
when heap_live reached next_gc, and there may have been significant
allocation between that point and the beginning of sweep
termination. Ideally these would be essentially the same, but
currently there's scheduler delay when readying the GC goroutine as
well as delay from background sweep finalization.

We should fix this delay, but in the mean time, to give the user a
better idea of how much the heap grew during the whole of garbage
collection, report the trigger rather than what the heap size happened
to be after the garbage collector finished rolling out of bed. This
will also be more useful for heap growth plots.

Change-Id: I08476b9fbcfb2de90592405e9c9f434dfb9eb1f8
Reviewed-on: https://go-review.googlesource.com/8512
Reviewed-by: Rick Hudson <rlh@golang.org>
2015-04-09 22:18:06 +00:00
..
archive
bufio
builtin
bytes bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
cmd cmd/go: detect which VCS to use with Bitbucket when the API call fails. 2015-04-09 09:57:12 +00:00
compress compress/flate: fix typo in comment 2015-04-01 16:48:04 +00:00
container
crypto crypto/tls: tidy up a little and add test. 2015-04-04 00:06:21 +00:00
database/sql database/sql: Retry with a fresh connection after maxBadConnRetries 2015-04-08 16:18:36 +00:00
debug debug/dwarf, encoding/asn1, go/ast: fix old comments 2015-03-24 00:09:30 +00:00
encoding encoding/gob: more checks for corrupted data 2015-04-09 17:02:19 +00:00
errors
expvar
flag
fmt fmt: improve test coverage of %x and %X format variations for strings 2015-04-01 00:55:30 +00:00
go go/types/internal/gcimporter: update for 7g and 9g 2015-04-08 17:55:51 +00:00
hash
html text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
image image/jpeg: reject multiple Start-Of-Frame markers. 2015-04-09 02:32:23 +00:00
index/suffixarray
internal os: windows Rename should overwrite destination file. 2015-04-09 08:39:52 +00:00
io io: clarify Copy docs regarding error handling 2015-04-08 13:39:33 +00:00
log log: logging an empty string should still print a line 2015-04-09 17:02:27 +00:00
math math/big: better doc strings for ErrNaN functionality 2015-04-09 20:18:32 +00:00
mime mime/quotedprintable: add binary mode to the writer 2015-03-30 12:49:19 +00:00
net net/http: handle close/response race more gracefully 2015-04-09 13:46:50 +00:00
os os: windows Rename should overwrite destination file. 2015-04-09 08:39:52 +00:00
path all: fix race when allocating buffer for some windows syscalls 2015-04-08 02:06:31 +00:00
reflect
regexp regexp: skip backtracker for long programs 2015-04-09 09:38:23 +00:00
runtime runtime: report next_gc for initial heap size in gctrace 2015-04-09 22:18:06 +00:00
sort
strconv
strings bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
sync
syscall syscall: reduce the set of architecture-dependent files on Plan 9 2015-04-09 13:55:13 +00:00
testing testing/quick: fix comment 2015-03-27 13:00:53 +00:00
text text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
time time: unify formatting of decimals for timestamps 2015-04-08 16:17:22 +00:00
unicode
unsafe
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: copy pkg for gcimporter tests 2015-04-08 14:39:07 +00:00
bootstrap.bash
clean.bash
clean.bat
clean.rc
iostest.bash iostest.bash: warn if GOARCH is not correct 2015-04-03 18:51:42 +00:00
make.bash
make.bat
Make.dist
make.rc
nacltest.bash nacltest.bash: reduce test time by using bootstrapping Go to build fstest_nacl.go 2015-03-24 23:58:14 +00:00
race.bash
race.bat
run.bash
run.bat
run.rc