]> Cypherpunks repositories - gostls13.git/commit
runtime: move traceStackTable.lock to the system stack
authorAustin Clements <austin@google.com>
Mon, 22 Aug 2022 20:14:34 +0000 (16:14 -0400)
committerAustin Clements <austin@google.com>
Tue, 23 Aug 2022 14:59:50 +0000 (14:59 +0000)
commit42794f3871c35d1b3837f78f29d781b6ab1c1a64
tree8db7faaada498b76ad4af3e7680181d18c25c0be
parent9f0f87c806b7a11b2cb3ebcd02eac57ee389c43a
runtime: move traceStackTable.lock to the system stack

This lock is acquired under trace.lock, which as of CL 418956
(6c2e327e35b) must be acquired on the system stack, so this lock must
be, too.

Fixes #54553.

Change-Id: I4fb0c0c2dfc3cb94b76673e842ad416305a31238
Reviewed-on: https://go-review.googlesource.com/c/go/+/425097
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/trace.go