]> Cypherpunks repositories - gostls13.git/commit
[dev.power64] runtime: fix early GC of Defer objects
authorAustin Clements <austin@google.com>
Wed, 22 Oct 2014 20:39:31 +0000 (16:39 -0400)
committerAustin Clements <austin@google.com>
Wed, 22 Oct 2014 20:39:31 +0000 (16:39 -0400)
commita9b9ecc9ef3a73ac0ab74b57ca7ef864f1bd9ac8
tree5d77627454aee3b79ab68dc34cbc749785ea2c4a
parentf0bd539c594ab4acfdaded45625a89a13d0bd575
[dev.power64] runtime: fix early GC of Defer objects

go_bootstrap was panicking during runtime initialization
(under runtime.main) because Defer objects were being
prematurely GC'd.  This happened because of an incorrect
change to runtime·unrollgcprog_m to make it endian-agnostic
during the conversion of runtime bitmaps to byte arrays.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/161960044
src/runtime/mgc0.c