From de8101d21bcf5f1097bcfaf3a1b55820ba70dce9 Mon Sep 17 00:00:00 2001 From: Jun10ng Date: Sat, 16 Jul 2022 14:31:14 +0000 Subject: [PATCH] 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 --- src/runtime/mprof.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.50.0