]> Cypherpunks repositories - gostls13.git/commit
[dev.garbage] runtime: fix a few checkmark bugs
authorRuss Cox <rsc@golang.org>
Wed, 5 Nov 2014 18:37:34 +0000 (13:37 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 5 Nov 2014 18:37:34 +0000 (13:37 -0500)
commit0584312e7d9dcfe336afa58079609f721b31b366
treec3a4caf853a54c6d256079648cee767cbfa22589
parente1f7c3f82fc07da19e225686bd94c56069c673d3
[dev.garbage] runtime: fix a few checkmark bugs

- Some sequencing issues with stopping the first gc_m round
at the right place to set up correctly for the second round.

- atomicxor8 is not idempotent; avoid xor.

- Maintain BitsDead type bits correctly; see long comment added.

- Enable checkmark phase by default for now.

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