]> Cypherpunks repositories - gostls13.git/commit
runtime: make p.gcBgMarkWorker a guintptr
authorAustin Clements <austin@google.com>
Tue, 26 Jan 2016 19:44:58 +0000 (14:44 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 27 Jan 2016 02:23:09 +0000 (02:23 +0000)
commit09940b92a08203aa3d2baa90fc29b80ccfcb32c5
tree6ee83042dfac2a61e807b2ce8069d871f33d4dc0
parent08594ac7c7e123d4aa46f60690da0a7e4034f4e9
runtime: make p.gcBgMarkWorker a guintptr

Currently p.gcBgMarkWorker is a *g. Change it to a guintptr. This
eliminates a write barrier during the subtle mark worker parking dance
(which isn't known to be causing problems, but may).

Change-Id: Ibf12c05ac910820448059e69a68e5b882c993ed8
Reviewed-on: https://go-review.googlesource.com/18970
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/mgc.go
src/runtime/proc.go
src/runtime/runtime2.go