mirror of
https://github.com/golang/go
synced 2024-11-22 18:34:51 -07:00
runtime: fix typo in mgcscavenge.go
recieved -> received
This commit is contained in:
parent
50cba0506f
commit
a6068c1d2b
@ -562,7 +562,7 @@ func (p *pageAlloc) scavengeUnreserve(r addrRange, gen uint32) {
|
||||
func (p *pageAlloc) scavengeOne(work addrRange, max uintptr, mayUnlock bool) (uintptr, addrRange) {
|
||||
assertLockHeld(p.mheapLock)
|
||||
|
||||
// Defensively check if we've recieved an empty address range.
|
||||
// Defensively check if we've received an empty address range.
|
||||
// If so, just return.
|
||||
if work.size() == 0 {
|
||||
// Nothing to do.
|
||||
|
Loading…
Reference in New Issue
Block a user