diff options
| author | Austin Clements <austin@google.com> | 2017-02-27 10:46:12 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-03-31 01:15:13 +0000 |
| commit | 29fdbcfea37f3bf519f678b1426277b70406c029 (patch) | |
| tree | ebfc8b071ced3e6bce31b6fe32d7d7427403cab1 /src/database/sql/sql_test.go | |
| parent | 786eb5b754780d649f5d85481096d268728d383f (diff) | |
| download | go-29fdbcfea37f3bf519f678b1426277b70406c029.tar.xz | |
runtime: track forced GCs independent of gcMode
Currently gcMode != gcBackgroundMode implies this was a user-forced GC
cycle. This is no longer going to be true when we make runtime.GC()
trigger a concurrent GC, so replace this with an explicit
work.userForced bit.
For #18216.
Change-Id: If7d71bbca78b5f0b35641b070f9d457f5c9a52bd
Reviewed-on: https://go-review.googlesource.com/37519
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
