mirror of
https://github.com/golang/go
synced 2024-11-14 07:00:21 -07: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
@ -142,7 +142,7 @@ var (
|
|||||||
mbuckets *bucket // memory profile buckets
|
mbuckets *bucket // memory profile buckets
|
||||||
bbuckets *bucket // blocking profile buckets
|
bbuckets *bucket // blocking profile buckets
|
||||||
xbuckets *bucket // mutex profile buckets
|
xbuckets *bucket // mutex profile buckets
|
||||||
buckhash *[179999]*bucket
|
buckhash *[buckHashSize]*bucket
|
||||||
bucketmem uintptr
|
bucketmem uintptr
|
||||||
|
|
||||||
mProf struct {
|
mProf struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user