]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: make the GC message less committal.
authorRob Pike <r@golang.org>
Fri, 17 Jul 2015 22:42:20 +0000 (08:42 +1000)
committerRob Pike <r@golang.org>
Sat, 18 Jul 2015 00:28:50 +0000 (00:28 +0000)
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>
src/runtime/mgc.go

index 5bd624293250c342d5be982d1267f3789bd4af18..068372439f7bc8b2e72a5c9ed2d186b114acf0af 100644 (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)