OSDN Git Service

Update to current version of Go library (revision 94d654be2064).
[pf3gnuchains/gcc-fork.git] / libgo / go / runtime / debug.go
index 803ea49..74010b3 100644 (file)
@@ -57,7 +57,6 @@ type MemStatsType struct {
        MSpanSys    uint64
        MCacheInuse uint64 // mcache structures
        MCacheSys   uint64
-       MHeapMapSys uint64 // heap map
        BuckHashSys uint64 // profiling bucket hash table
 
        // Garbage collector statistics.
@@ -70,7 +69,8 @@ type MemStatsType struct {
 
        // Per-size allocation statistics.
        // Not locked during update; approximate.
-       BySize [67]struct {
+       // 61 is NumSizeClasses in the C code.
+       BySize [61]struct {
                Size    uint32
                Mallocs uint64
                Frees   uint64