]> Cypherpunks repositories - gostls13.git/commit
runtime: avoid initializing MemProfileRate in init function
authorWang Deyu <wangdeyu.2021@bytedance.com>
Fri, 16 Sep 2022 10:56:48 +0000 (18:56 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 5 Oct 2022 17:31:56 +0000 (17:31 +0000)
commitf63b268b9a1dd6457405ed24dd4831b6ebfb8df8
treef17d0dd09db699357a9c259fec226ccda7cce298
parent97d38f300273a3eb7af100d3943decaa433fd28f
runtime: avoid initializing MemProfileRate in init function

Fixes #55100

Change-Id: Ibbff921e74c3a416fd8bb019d20410273961c015
Reviewed-on: https://go-review.googlesource.com/c/go/+/431315
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/mprof.go
src/runtime/proc.go