aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2020-10-15 01:43:51 +0000
committerKeith Randall <khr@golang.org>2020-10-24 03:15:23 +0000
commitbc0b198bd75a8eef45d0965531ba6fa127d0e8ec (patch)
tree49736329131f8522e71389d0bff978fbc4fa124e /src/debug
parent94eda9ae37d9f8a34c44c1ad1a030b4475f79faf (diff)
downloadgo-bc0b198bd75a8eef45d0965531ba6fa127d0e8ec.tar.xz
runtime: dump the status of lockedg on error
The dumpgstatus() will dump current g's status anyway. When lockedg's status is bad, it's more helpful to dump lockedg's status as well than dumping current g's status twice. Change-Id: If5248cb94b9cdcbf4ceea07562237e1d6ee28489 GitHub-Last-Rev: da814c51ff42f56fb28582f088f4d72b500061fe GitHub-Pull-Request: golang/go#40248 Reviewed-on: https://go-review.googlesource.com/c/go/+/243097 Reviewed-by: Keith Randall <khr@golang.org> Trust: Emmanuel Odeke <emm.odeke@gmail.com> Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions