mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: remove mcache field from m
Having an mcache field in both m and p is confusing, so remove it from m. Always use mcache field from p. Use new variable mcache0 during bootstrap. Change-Id: If2cba9f8bb131d911d512b61fd883a86cf62cc98 Reviewed-on: https://go-review.googlesource.com/c/go/+/205239 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
7802b55176
commit
3093959ee1
7 changed files with 54 additions and 43 deletions
|
|
@ -510,7 +510,6 @@ type m struct {
|
|||
park note
|
||||
alllink *m // on allm
|
||||
schedlink muintptr
|
||||
mcache *mcache
|
||||
lockedg guintptr
|
||||
createstack [32]uintptr // stack that created this thread.
|
||||
lockedExt uint32 // tracking for external LockOSThread
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue