diff options
| author | Austin Clements <austin@google.com> | 2022-07-20 14:12:56 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2022-08-11 20:16:37 +0000 |
| commit | 502b6057d2a30b284a3889e4439b47289244382b (patch) | |
| tree | 15bf819dd63c5eafe45a6ea108782ea03b8cf1d1 /src/debug | |
| parent | cc8bac88353d8067244a196f70b2fe9475f4336e (diff) | |
| download | go-502b6057d2a30b284a3889e4439b47289244382b.tar.xz | |
runtime: add mayAcquire annotation for trace.lock
Now that we've moved the trace locks to the leaf of the lock graph, we
can safely annotate that any trace event may acquire trace.lock even
if dynamically it turns out a particular event doesn't need to flush
and acquire this lock.
This reveals a new edge where we can trace while holding the mheap
lock, so we add this to the lock graph.
For #53789.
Updates #53979.
Change-Id: I13e2f6cd1b621cca4bed0cc13ef12e64d05c89a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/418720
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions
