]> Cypherpunks repositories - gostls13.git/commit
runtime: remove unused gcTriggerAlways
authorAustin Clements <austin@google.com>
Mon, 25 Sep 2017 19:01:29 +0000 (15:01 -0400)
committerAustin Clements <austin@google.com>
Tue, 5 Mar 2019 23:08:13 +0000 (23:08 +0000)
commit7ac0a8bc3919e3d22c7492792873a341c9687b5c
tree779f7427c88ab1f5b3f102c8c907ac1321c43952
parent4b142806fa070bfbd26126c75b109f6aefc3b738
runtime: remove unused gcTriggerAlways

This was used during the implementation of concurrent runtime.GC() but
now there's nothing that triggers GC unconditionally. Remove this
trigger type and simplify (gcTrigger).test() accordingly.

Change-Id: I17a893c2ed1f661b8146d7783d529f71735c9105
Reviewed-on: https://go-review.googlesource.com/c/go/+/66090
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go