runtime: clear isSystemGoroutine in goexit
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 13 Jun 2017 00:43:56 +0000 (00:43 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 13 Jun 2017 00:43:56 +0000 (00:43 +0000)
commitcd34e54306bfb2ef53fbb2405de435e375337ef9
tree7eb733a5b30639c426714eac9d7dfeacc3b95c4f
parent67972c9038daa394086daeed5c332983fa92d583
runtime: clear isSystemGoroutine in goexit

    Otherwise it may be set when the g struct is reused via gfput/gfget.

    Test is golang.org/x/net/http2 with GOMAXPROCS=12.

    Reviewed-on: https://go-review.googlesource.com/45430

From-SVN: r249143
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go