• Austin Clements's avatar
    runtime: clean up gcMarkDone · b8903339
    Austin Clements authored
    This improves the documentation comment on gcMarkDone, replaces a
    recursive call with a simple goto, and disables preemption before
    stopping the world in accordance with the documentation comment on
    stopTheWorldWithSema.
    
    Updates #13363, but, sadly, doesn't fix it.
    
    Change-Id: I6cb2a5836b35685bf82f7b1ce7e48a7625906656
    Reviewed-on: https://go-review.googlesource.com/17149Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    b8903339
mgc.go 61.4 KB