]> Cypherpunks repositories - gostls13.git/commit
runtime: add race detector tips to reportZombies func
authorLin Lin <linlin152@foxmail.com>
Fri, 15 Nov 2024 12:08:29 +0000 (12:08 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 15 Nov 2024 17:47:27 +0000 (17:47 +0000)
commit09f9b5e361646ac0e21b4818ddfcf029a78a9e69
tree5cc15545bb7126ecf22435253393cb68e0850335
parenta9afea969aa63e0706d193b2fdca11cfd7d65e3c
runtime: add race detector tips to reportZombies func

We can find a few issues finally turned out to be a race condition,
such as #47513. I believe such a tip can eliminate the need for developers
to file this kind of issue in the first place.

Change-Id: I1597fa09fde641882e8e87453470941747705272
GitHub-Last-Rev: 9f136f5b3bee78f90f434dcea1cabf397c6c05f2
GitHub-Pull-Request: golang/go#70331
Reviewed-on: https://go-review.googlesource.com/c/go/+/627816
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/mgcsweep.go