]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: fix typos
authorJun10ng <zeonll@outlook.com>
Sat, 16 Jul 2022 14:31:14 +0000 (14:31 +0000)
committerKeith Randall <khr@google.com>
Mon, 18 Jul 2022 18:04:23 +0000 (18:04 +0000)
"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 <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>
src/runtime/mprof.go

index 6bf3ddda8ce307dbe13401b293c71a6977b06245..99a67b9a3abd0b800d54481f60a1809aa38fd312 100644 (file)
@@ -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 {