From: Rob Pike Date: Fri, 17 Jul 2015 22:42:20 +0000 (+1000) Subject: runtime: make the GC message less committal. X-Git-Tag: go1.5beta3~161 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e28a679216ca78f0f3c7cf91e61251933ed8a5fa;p=gostls13.git 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 --- diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 5bd6242932..068372439f 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -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)