commit | 085ef4556ec810a5a9c422e7b86d98441dc92e86 | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Mon Dec 31 22:51:50 2018 -0500 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Jan 07 22:06:34 2019 +0000 |
tree | 6e1ef8b2576165a5691bfffcc8cbc5ca07907f0a | |
parent | c8a9bccbc524381d150c84907a61ac257c1b07cc [diff] |
runtime: in doscanstackswitch, set gp->m before gogo This is following CL 156038. doscanstackswitch uses the same mechanism of switching goroutines as getTraceback, and so has the same problem as described in issue golang/go#29448. This CL applies the same fix. Change-Id: I0da9996b0f73755f0171c7c10be6c77cb298b517 Reviewed-on: https://go-review.googlesource.com/c/156697 Reviewed-by: Ian Lance Taylor <iant@golang.org>