Commit e28a6792 authored by Rob Pike's avatar Rob Pike

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/12346Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
parent c4f18d53
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment