diff options
Diffstat (limited to 'src/runtime/malloc.go')
| -rw-r--r-- | src/runtime/malloc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go index 22c0dfe3a4..772d3309d2 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go @@ -493,6 +493,7 @@ func gogc(force int32) { systemstack(stoptheworld) systemstack(finishsweep_m) // finish sweep before we start concurrent scan. if force == 0 { // Do as much work concurrently as possible + gcphase = _GCscan systemstack(starttheworld) gctimer.cycle.scan = nanotime() // Do a concurrent heap scan before we stop the world. |
