mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
runtime: fix buckHashSize duplication
We have a constant for 179999, don't duplicate it. Change-Id: Iefb9c4746f6dda2e08b42e3c978963198469ee8c Reviewed-on: https://go-review.googlesource.com/c/go/+/277375 Reviewed-by: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Michael Pratt <mpratt@google.com>
This commit is contained in:
parent
6e50991d2a
commit
96d816c574
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ var (
|
|||
mbuckets *bucket // memory profile buckets
|
||||
bbuckets *bucket // blocking profile buckets
|
||||
xbuckets *bucket // mutex profile buckets
|
||||
buckhash *[179999]*bucket
|
||||
buckhash *[buckHashSize]*bucket
|
||||
bucketmem uintptr
|
||||
|
||||
mProf struct {
|
||||
|
|
Loading…
Reference in a new issue