diff options
| author | Austin Clements <austin@google.com> | 2017-03-30 14:59:53 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-03-31 01:15:16 +0000 |
| commit | 2919132e1b7ade3faa394339d3199f243103dd72 (patch) | |
| tree | c96da74d693dd35b0d8bfd33a5d88fc55741e1c7 /src/database/sql/convert_test.go | |
| parent | 29fdbcfea37f3bf519f678b1426277b70406c029 (diff) | |
| download | go-2919132e1b7ade3faa394339d3199f243103dd72.tar.xz | |
runtime: don't adjust GC trigger on forced GC
Forced GCs don't provide good information about how to adjust the GC
trigger. Currently we avoid adjusting the trigger on forced GC because
forced GC is also STW and we don't adjust the trigger on STW GC.
However, this will become a problem when forced GC is concurrent.
Fix this by skipping trigger adjustment if the GC was user-forced.
For #18216.
Change-Id: I03dfdad12ecd3cfeca4573140a0768abb29aac5e
Reviewed-on: https://go-review.googlesource.com/38951
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/convert_test.go')
0 files changed, 0 insertions, 0 deletions
