1
0
mirror of https://github.com/golang/go synced 2024-11-16 18:04:39 -07:00

runtime: fix typos

"finializer" =>  "finalizer"

Change-Id: Ia3c12bff8556b6a8d33b700c59357f47502757b1
GitHub-Last-Rev: c64cf47974
GitHub-Pull-Request: golang/go#53917
Reviewed-on: https://go-review.googlesource.com/c/go/+/417915
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
Jun10ng 2022-07-16 14:31:14 +00:00 committed by Keith Randall
parent 967a3d985d
commit de8101d21b

View File

@ -947,7 +947,7 @@ func goroutineProfileWithLabelsConcurrent(p []StackRecord, labels []unsafe.Point
goroutineProfile.active = true goroutineProfile.active = true
goroutineProfile.records = p goroutineProfile.records = p
goroutineProfile.labels = labels 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 // time between being a user goroutine (eligible for this profile) and a
// system goroutine (to be excluded). Pick one before restarting the world. // system goroutine (to be excluded). Pick one before restarting the world.
if fing != nil { if fing != nil {