mirror of
https://github.com/golang/go
synced 2024-11-26 07:17:59 -07:00
runtime: fix typos in comments
Change-Id: Ia70e8bdc6d2cf1195d7a3b5d33f180ae2db73e29 Reviewed-on: https://go-review.googlesource.com/c/go/+/305369 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Ben Shi <powerman1st@163.com> Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
33945869c1
commit
bb2fc21c3b
@ -933,7 +933,7 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
|
||||
}
|
||||
|
||||
if inittrace.active && inittrace.id == getg().goid {
|
||||
// Init functions are executed sequentially in a single Go routine.
|
||||
// Init functions are executed sequentially in a single goroutine.
|
||||
inittrace.allocs += 1
|
||||
}
|
||||
}
|
||||
@ -1137,7 +1137,7 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
|
||||
}
|
||||
|
||||
if inittrace.active && inittrace.id == getg().goid {
|
||||
// Init functions are executed sequentially in a single Go routine.
|
||||
// Init functions are executed sequentially in a single goroutine.
|
||||
inittrace.bytes += uint64(size)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user