diff options
| author | geedchin <geedchin@gmail.com> | 2020-05-05 01:43:57 +0000 |
|---|---|---|
| committer | Emmanuel Odeke <emm.odeke@gmail.com> | 2020-05-05 02:38:39 +0000 |
| commit | 01a9cf8487df2b108f0dfd7060ff5ffbda972c3a (patch) | |
| tree | 1ea1280fcfd83a2071f4c1b404937e85573e27b2 /src/runtime/proc.go | |
| parent | c9d5f60eaa4450ccf1ce878d55b4c6a12843f2f3 (diff) | |
| download | go-01a9cf8487df2b108f0dfd7060ff5ffbda972c3a.tar.xz | |
runtime: correct waitReasonForceGGIdle to waitResonForceGCIdle
Change-Id: I211db915ce2e98555c58f4320ca58e91536f8f3d
GitHub-Last-Rev: 40a7430f88ed125f2ae0db13f3be603c99d06312
GitHub-Pull-Request: golang/go#38852
Reviewed-on: https://go-review.googlesource.com/c/go/+/232037
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/proc.go')
| -rw-r--r-- | src/runtime/proc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 1d04c156d3..bd114496b2 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -252,7 +252,7 @@ func forcegchelper() { throw("forcegc: phase error") } atomic.Store(&forcegc.idle, 1) - goparkunlock(&forcegc.lock, waitReasonForceGGIdle, traceEvGoBlock, 1) + goparkunlock(&forcegc.lock, waitReasonForceGCIdle, traceEvGoBlock, 1) // this goroutine is explicitly resumed by sysmon if debug.gctrace > 0 { println("GC forced") |
