]> Cypherpunks repositories - gostls13.git/commit
runtime: record swept and reclaimed bytes in sweep trace
authorAustin Clements <austin@google.com>
Fri, 14 Apr 2017 18:44:22 +0000 (14:44 -0400)
committerAustin Clements <austin@google.com>
Wed, 19 Apr 2017 18:31:14 +0000 (18:31 +0000)
commit22000f54073985958457168e8e19afa19e97821d
tree0006607f032cec4e134e6241408bfcbb77d73b53
parent79c56addb680b04804e1c3553ba96760d0172d55
runtime: record swept and reclaimed bytes in sweep trace

This extends the GCSweepDone event with counts of swept and reclaimed
bytes. These are useful for understanding the duration and
effectiveness of sweep events.

Change-Id: I3c97a4f0f3aad3adbd188adb264859775f54e2df
Reviewed-on: https://go-review.googlesource.com/40811
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/internal/trace/parser.go
src/internal/trace/testdata/http_1_9_good
src/internal/trace/testdata/stress_1_9_good
src/internal/trace/testdata/stress_start_stop_1_9_good
src/runtime/mgcsweep.go
src/runtime/runtime2.go
src/runtime/trace.go