]> Cypherpunks repositories - gostls13.git/commit
runtime: add lock rank partial order edge sweep -> mspanSpecial
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 10 Nov 2020 15:32:59 +0000 (15:32 +0000)
committerMichael Knyszek <mknyszek@google.com>
Tue, 10 Nov 2020 16:25:27 +0000 (16:25 +0000)
commitc68745b1308b7610217dce3683e2c48e04a3392c
tree8f73910bbd51e57d6040d1080f4ae35e0eb48431
parente3de852f3e776ca426d1d7af243dd698f0fee960
runtime: add lock rank partial order edge sweep -> mspanSpecial

This change adds a missing partial order edge. The edge captures the
case where the background sweeper handles some specials (i.e. finalizers
or memory profile sampling) and is otherwise correct.

Fixes #42472.

Change-Id: Ic45f6cc1635fd3d6bc6c91ff6f64d436088cef33
Reviewed-on: https://go-review.googlesource.com/c/go/+/268857
Trust: Michael Knyszek <mknyszek@google.com>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/runtime/lockrank.go