From 20721e5c79a24137f4e9921fd4a894936afeb373 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Wed, 8 May 2024 14:51:39 -0400 Subject: [PATCH] runtime: fix eagerly typo Change-Id: I3150e2d0b9f5590c6da95392b0b51df94b8c20eb Reviewed-on: https://go-review.googlesource.com/c/go/+/584338 Reviewed-by: Michael Knyszek Auto-Submit: Michael Pratt LUCI-TryBot-Result: Go LUCI --- src/runtime/proc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 618669ce82..ebc07bb1ab 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -924,7 +924,7 @@ func mcommoninit(mp *m, id int64) { mProfStackInit(mp) } -// mProfStackInit is used to eagilery initialize stack trace buffers for +// mProfStackInit is used to eagerly initialize stack trace buffers for // profiling. Lazy allocation would have to deal with reentrancy issues in // malloc and runtime locks for mLockProfile. // TODO(mknyszek): Implement lazy allocation if this becomes a problem. -- 2.48.1