mirror of
https://github.com/golang/go
synced 2024-11-11 22:50:22 -07:00
runtime: fix typo in proc.go
Change-Id: I12c0befc5772a5c902a55aeb06a30ec7a34a3bd6
GitHub-Last-Rev: 7d41e1bcb9
GitHub-Pull-Request: golang/go#46112
Reviewed-on: https://go-review.googlesource.com/c/go/+/319053
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
9995c6b50a
commit
1a0ea1a08b
@ -3136,7 +3136,7 @@ func checkIdleGCNoP() (*p, *g) {
|
||||
// an available P and available worker G.
|
||||
//
|
||||
// We can attempt to acquire these in either order, though both have
|
||||
// synchonization concerns (see below). Workers are almost always
|
||||
// synchronization concerns (see below). Workers are almost always
|
||||
// available (see comment in findRunnableGCWorker for the one case
|
||||
// there may be none). Since we're slightly less likely to find a P,
|
||||
// check for that first.
|
||||
|
Loading…
Reference in New Issue
Block a user