1
0
mirror of https://github.com/golang/go synced 2024-11-22 21:50:03 -07:00

runtime: make the GC message less committal.

We shouldn't guarantee this behavior, but suggest it's possible.

Change-Id: I4c2afb48b99be4d91537306d3337171a13c9990a
Reviewed-on: https://go-review.googlesource.com/12346
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Rob Pike 2015-07-18 08:42:20 +10:00
parent c4f18d5374
commit e28a679216

View File

@ -770,7 +770,7 @@ var work struct {
initialHeapLive uint64
}
// GC runs a garbage collection and blocks the entire program until the
// GC runs a garbage collection. It might block the entire program until the
// collection is complete.
func GC() {
startGC(gcForceBlockMode)