]> Cypherpunks repositories - gostls13.git/commit
test: really force heap profile update in heapsampling.go
authorAustin Clements <austin@google.com>
Thu, 12 Nov 2015 17:24:36 +0000 (12:24 -0500)
committerAustin Clements <austin@google.com>
Thu, 12 Nov 2015 18:32:13 +0000 (18:32 +0000)
commita9ca2137aa3ebcf9cf094b20cf30cf50ba577892
tree5dc8d036d5503893941c9945134db1694822be45
parent80d0b98d809361c862670bd7293fbca22055581f
test: really force heap profile update in heapsampling.go

The heap profile is only guaranteed to be up-to-date after two GC
cycles, so force two GCs instead of just one.

Updates #13098.

Change-Id: I4fb9287b698f4a3b90b8af9fc6a2efb3b082bfe5
Reviewed-on: https://go-review.googlesource.com/16848
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
test/heapsampling.go