mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: remove remaining references to TheChar
After mdempsky's recent changes, these are the only references to "TheChar" left in the Go tree. Without the context, and without knowing the history, this is confusing. Also rename sys.TheGoos and sys.TheGoarch to sys.GOOS and sys.GOARCH. Also change the heap dump format to include sys.GOARCH rather than TheChar, which is no longer a concept. Updates #15169 (changes heapdump format) Change-Id: I3e99eeeae00ed55d7d01e6ed503d958c6e931dca Reviewed-on: https://go-review.googlesource.com/21647 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
1faa8869c6
commit
ba09d06e16
37 changed files with 59 additions and 42 deletions
|
|
@ -496,7 +496,7 @@ func dumpparams() {
|
|||
dumpint(sys.PtrSize)
|
||||
dumpint(uint64(mheap_.arena_start))
|
||||
dumpint(uint64(mheap_.arena_used))
|
||||
dumpint(sys.TheChar)
|
||||
dumpstr(sys.GOARCH)
|
||||
dumpstr(sys.Goexperiment)
|
||||
dumpint(uint64(ncpu))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue