diff options
| author | Austin Clements <austin@google.com> | 2017-03-01 21:03:20 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-03-31 01:15:01 +0000 |
| commit | 1be3e76e7628cae8500c0c1f3aa620638aec351d (patch) | |
| tree | 171143ab0cf8d7a766741e159d3fde90e67c9c21 /src/syscall/exec_linux_test.go | |
| parent | eee85fc5a1071c8c7d8d804e898da6394ffbdec3 (diff) | |
| download | go-1be3e76e7628cae8500c0c1f3aa620638aec351d.tar.xz | |
runtime: simplify heap profile flushing
Currently the heap profile is flushed by *either* gcSweep in STW mode
or by gcMarkTermination in concurrent mode. Simplify this by making
gcMarkTermination always flush the heap profile and by making gcSweep
do one extra flush (instead of two) in STW mode.
Change-Id: I62147afb2a128e1f3d92ef4bb8144c8a345f53c4
Reviewed-on: https://go-review.googlesource.com/37715
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions
