• Austin Clements's avatar
    runtime: add a more stable isSystemGoroutine mode · 29b21ec4
    Austin Clements authored
    Currently, isSystemGoroutine varies on whether it considers the
    finalizer goroutine a user goroutine or a system goroutine. For the
    next CL, we're going to want to always consider the finalier goroutine
    a user goroutine, so add a flag that indicates that.
    
    Updates #26903. This is preparation for unifying STW GC and concurrent
    GC.
    
    Change-Id: Iafc92e519c13d9f8d879332cb5f0d12164104c33
    Reviewed-on: https://go-review.googlesource.com/c/134778
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    29b21ec4
heapdump.go 17 KB