]> Cypherpunks repositories - gostls13.git/commit
runtime: capture pause stack for late gcWork put debugging
authorAustin Clements <austin@google.com>
Mon, 17 Dec 2018 19:39:05 +0000 (14:39 -0500)
committerAustin Clements <austin@google.com>
Mon, 17 Dec 2018 21:24:19 +0000 (21:24 +0000)
commitccbca561ef1fc7990ca697102f0e9d3b2150d8f5
treeb07534530e3b77cb3b687db85e914383e024f1bc
parentdb1e8a9e1f1b019dd7928ea239d5b0e4af66d9a6
runtime: capture pause stack for late gcWork put debugging

This captures the stack trace where mark completion observed that each
P had no work, and then dumps this if that P later discovers more
work. Hopefully this will help bound where the work was created.

For #27993.

Change-Id: I4f29202880d22c433482dc1463fb50ab693b6de6
Reviewed-on: https://go-review.googlesource.com/c/154599
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/mgc.go
src/runtime/mgcwork.go