]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: traces may end with pending mark assists
authorHeschi Kreinick <heschi@google.com>
Wed, 22 Feb 2017 22:58:31 +0000 (17:58 -0500)
committerHeschi Kreinick <heschi@google.com>
Thu, 2 Mar 2017 18:33:54 +0000 (18:33 +0000)
commit4de2efe927e3c71798dc55f7b029a8476b756a45
tree170344fbbf41416a4588aadc61e9cc45a3c7c95a
parent04fc88776187a3c9c35a575eef65a7e9b9276e6d
cmd/trace: traces may end with pending mark assists

There's no guarantee that all in-progress mark assists will finish
before the trace does. Don't crash if that happens.

I haven't added a test because there's quite a bit of ceremony involved
and the bug is fairly straightforward.

Change-Id: Ia1369a8e2260fc6a328ad204a1eab1063d2e2c90
Reviewed-on: https://go-review.googlesource.com/37540
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/trace/trace.go