commit | 300ff5d8ac12a5515234e68aa8a03637ba181937 | [log] [tgz] |
---|---|---|
author | Michael Pratt <mpratt@google.com> | Fri Apr 17 15:36:13 2020 -0400 |
committer | Michael Pratt <mpratt@google.com> | Tue Apr 21 20:22:06 2020 +0000 |
tree | c7193db3b4ce186ef559db21cf624a330909d4ed | |
parent | e464d7d7970be972a17a98c7ad996c2db4a04997 [diff] |
runtime: allow proflock and mheap.speciallock above globalAlloc.mutex During schedinit, these may occur in: mProf_Malloc stkbucket newBucket persistentalloc persistentalloc1 mProf_Malloc setprofilebucket fixalloc.alloc persistentalloc persistentalloc1 These seem to be legitimate lock orderings. Additionally, mheap.speciallock had a defined rank, but it was never actually used. That is fixed now. Updates #38474 Change-Id: I0f6e981852eac66dafb72159f426476509620a65 Reviewed-on: https://go-review.googlesource.com/c/go/+/228786 Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dan Scales <danscales@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.