mirror of
https://github.com/golang/go.git
synced 2026-02-06 10:55:05 +03:00
runtime: fix incorrect comment
Fix incorrect comment for the runtime package.
Change-Id: Iab889eff0e9c622afbed959d32b8b5f0ed0bfebf
GitHub-Last-Rev: e9587868db
GitHub-Pull-Request: golang/go#57731
Reviewed-on: https://go-review.googlesource.com/c/go/+/461498
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
committed by
Gopher Robot
parent
6ad27161f8
commit
18625d9bec
@@ -21,8 +21,7 @@ type pageCache struct {
|
||||
scav uint64 // 64-bit bitmap representing scavenged pages (1 means scavenged)
|
||||
}
|
||||
|
||||
// empty returns true if the pageCache has any free pages, and false
|
||||
// otherwise.
|
||||
// empty reports whether the page cache has no free pages.
|
||||
func (c *pageCache) empty() bool {
|
||||
return c.cache == 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user