• Austin Clements's avatar
    runtime: avoid using STW GC mechanism for checkmarks mode · ecc36596
    Austin Clements authored
    Currently, checkmarks mode uses the full STW GC infrastructure to
    perform mark checking. We're about to remove that infrastructure and,
    furthermore, since checkmarks is about doing the simplest thing
    possible to check concurrent GC, it's valuable for it to be simpler.
    
    Hence, this CL makes checkmarks even simpler by making it non-parallel
    and divorcing it from the STW GC infrastructure (including the
    gchelper mechanism).
    
    Updates #26903. This is preparation for unifying STW GC and concurrent
    GC.
    
    Change-Id: Iad21158123e025e3f97d7986d577315e994bd43e
    Reviewed-on: https://go-review.googlesource.com/c/134776
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarRick Hudson <rlh@golang.org>
    ecc36596
mgc.go 71.5 KB