]> Cypherpunks repositories - gostls13.git/commit
runtime: remove gcStart's mode argument
authorAustin Clements <austin@google.com>
Mon, 13 Aug 2018 20:14:19 +0000 (16:14 -0400)
committerAustin Clements <austin@google.com>
Tue, 2 Oct 2018 20:35:24 +0000 (20:35 +0000)
commit918ed88e475d39e40baf9cd6539b618e05d12e5e
tree990091f79382f94e7e939e31c9ef7d487f22b36d
parente25ef35254cc4372256d0c7f4521df3cf3d092bf
runtime: remove gcStart's mode argument

This argument is always gcBackgroundMode since only
debug.gcstoptheworld can trigger a STW GC at this point. Remove the
unnecessary argument.

Updates #26903. This is preparation for unifying STW GC and concurrent
GC.

Change-Id: Icb4ba8f10f80c2b69cf51a21e04fa2c761b71c94
Reviewed-on: https://go-review.googlesource.com/c/134775
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/malloc.go
src/runtime/mgc.go
src/runtime/proc.go