aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-02-19 15:48:40 -0500
committerRuss Cox <rsc@golang.org>2015-02-20 17:00:22 +0000
commit2b655c0b928128de154a130876cdff03d973dd90 (patch)
tree0055412e48924b38db2ed68e272e6cb66fd184a2 /src/runtime/proc.go
parent6e70fddec0e1d4a43ffb450f555dde82ff313397 (diff)
downloadgo-2b655c0b928128de154a130876cdff03d973dd90.tar.xz
runtime: tidy GC driver
Change-Id: I0da26e89ae73272e49e82c6549c774e5bc97f64c Reviewed-on: https://go-review.googlesource.com/5331 Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 027416a9ec..d251c314d4 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -123,7 +123,7 @@ func forcegchelper() {
if debug.gctrace > 0 {
println("GC forced")
}
- gogc(1)
+ startGC(gcForceMode)
}
}