From: Jun10ng Date: Sat, 16 Jul 2022 14:31:14 +0000 (+0000) Subject: runtime: fix typos X-Git-Tag: go1.19~3^2~38 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=de8101d21b;p=gostls13.git runtime: fix typos "finializer" => "finalizer" Change-Id: Ia3c12bff8556b6a8d33b700c59357f47502757b1 GitHub-Last-Rev: c64cf47974020c8480039ba61d0890bdc07a3b0f GitHub-Pull-Request: golang/go#53917 Reviewed-on: https://go-review.googlesource.com/c/go/+/417915 Reviewed-by: Keith Randall TryBot-Result: Gopher Robot Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Keith Randall --- diff --git a/src/runtime/mprof.go b/src/runtime/mprof.go index 6bf3ddda8c..99a67b9a3a 100644 --- a/src/runtime/mprof.go +++ b/src/runtime/mprof.go @@ -947,7 +947,7 @@ func goroutineProfileWithLabelsConcurrent(p []StackRecord, labels []unsafe.Point goroutineProfile.active = true goroutineProfile.records = p goroutineProfile.labels = labels - // The finializer goroutine needs special handling because it can vary over + // The finalizer goroutine needs special handling because it can vary over // time between being a user goroutine (eligible for this profile) and a // system goroutine (to be excluded). Pick one before restarting the world. if fing != nil {