mirror of https://github.com/golang/go.git
runtime: fix incorrect comment
This commit is contained in:
parent
76d39ae349
commit
25e600dd64
|
|
@ -21,7 +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
|
||||
// empty returns true if the pageCache has no free pages, and false
|
||||
// otherwise.
|
||||
func (c *pageCache) empty() bool {
|
||||
return c.cache == 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue