aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2024-05-08 14:51:39 -0400
committerGopher Robot <gobot@golang.org>2024-05-08 19:11:58 +0000
commit20721e5c79a24137f4e9921fd4a894936afeb373 (patch)
tree498cb38cfff6827ab0cbf53d732051806e000356
parent69e75c8581e15328454bb6e2f1dc347f73616b37 (diff)
downloadgo-20721e5c79a24137f4e9921fd4a894936afeb373.tar.gz
go-20721e5c79a24137f4e9921fd4a894936afeb373.zip
runtime: fix eagerly typo
Change-Id: I3150e2d0b9f5590c6da95392b0b51df94b8c20eb Reviewed-on: https://go-review.googlesource.com/c/go/+/584338 Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-rw-r--r--src/runtime/proc.go2
1 files changed, 1 insertions, 1 deletions
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.