runtime: expose memory stats

This commit is contained in:
Yurii Soldak
2021-06-05 13:33:26 +02:00
committed by Ron Evans
parent b092856238
commit d62a9e24e5
4 changed files with 104 additions and 1 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ const (
)
var (
metadataStart unsafe.Pointer // pointer to the start of the heap
metadataStart unsafe.Pointer // pointer to the start of the heap metadata
nextAlloc gcBlock // the next block that should be tried by the allocator
endBlock gcBlock // the block just past the end of the available space
)