Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: MemStats docs reference non-existent XSys #19601

Closed
bradfitz opened this issue Mar 18, 2017 · 1 comment
Closed

runtime: MemStats docs reference non-existent XSys #19601

bradfitz opened this issue Mar 18, 2017 · 1 comment

Comments

@bradfitz
Copy link
Contributor

The runtime MemStats type's Sys field says:

https://golang.org/pkg/runtime/#MemStats.Sys

   // Sys is the sum of the XSys fields below. Sys measures the
...

But there are no "XSys" fields anywhere in the Go tree.

$ git grep XSys
src/runtime/mstats.go:  // Sys is the sum of the XSys fields below. Sys measures the
src/syscall/mksyscall_windows.go:               pkgXSysWindows        // x/sys/windows package
src/syscall/mksyscall_windows.go:               pkgtype = pkgXSysWindows
src/syscall/mksyscall_windows.go:               case pkgXSysWindows:
src/syscall/mksyscall_windows.go:                       case pkgXSysWindows:

(nor case insensitively)

Noted while looking at #19600.

@bradfitz bradfitz added this to the Go1.9 milestone Mar 18, 2017
@bradfitz bradfitz changed the title runtime: MemStats docs reference non-existent XStats runtime: MemStats docs reference non-existent XSys Mar 18, 2017
@bradfitz
Copy link
Contributor Author

Oh, ... StackSys, MSpanSys, etc. I get it. I shouldn't be filing bugs at this hour.

@golang golang locked and limited conversation to collaborators Mar 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants