diff options
| author | Austin Clements <austin@google.com> | 2017-02-23 11:54:43 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-03-31 01:15:08 +0000 |
| commit | 3d58498fdb047c442abafff4277159d6c3842e05 (patch) | |
| tree | 954564141194fe6c3a6e32d068d037a7cb6a4202 /src/syscall/exec_linux_test.go | |
| parent | 29be3f1999d1ccf01110f4e1f2d628f54f6c65da (diff) | |
| download | go-3d58498fdb047c442abafff4277159d6c3842e05.tar.xz | |
runtime: simplify forced GC triggering
Now that the gcMode is no longer involved in the GC trigger condition,
we can simplify the triggering of forced GCs. By making the trigger
condition for forced GCs true even if gcphase is not _GCoff, we don't
need any special case path in gcStart to ensure that forced GCs don't
get consolidated.
Change-Id: I6067a13d76e40ff2eef8fade6fc14adb0cb58ee5
Reviewed-on: https://go-review.googlesource.com/37517
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
