• Russ Cox's avatar
    [dev.garbage] runtime: fix a few checkmark bugs · 0584312e
    Russ Cox authored
    - 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
    0584312e
mgc0.c 80.8 KB