Skip to content

Commit

Permalink
runtime: fix typo in mgcscavenge.go
Browse files Browse the repository at this point in the history
recieved -> received

Change-Id: I84336170e179832604e1311ea9263af36f9ce15a
GitHub-Last-Rev: a6068c1
GitHub-Pull-Request: #43845
Reviewed-on: https://go-review.googlesource.com/c/go/+/285675
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
  • Loading branch information
eltociear authored and randall77 committed Jan 22, 2021
1 parent 7ece3a7 commit ec40517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/mgcscavenge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ec40517

Please sign in to comment.