diff options
| author | Austin Clements <austin@google.com> | 2017-02-23 21:55:37 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-03-31 01:15:10 +0000 |
| commit | 786eb5b754780d649f5d85481096d268728d383f (patch) | |
| tree | ce86dd599e6bf03b7487c1a91c7e06addea30849 /src/database/sql/sql_test.go | |
| parent | 3d58498fdb047c442abafff4277159d6c3842e05 (diff) | |
| download | go-786eb5b754780d649f5d85481096d268728d383f.tar.xz | |
runtime: make debug.FreeOSMemory call runtime.GC()
Currently freeOSMemory calls gcStart directly, but we really just want
it to behave like runtime.GC() and then perform a scavenge, so make it
call runtime.GC() rather than gcStart.
For #18216.
Change-Id: I548ec007afc788e87d383532a443a10d92105937
Reviewed-on: https://go-review.googlesource.com/37518
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/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
