diff options
Diffstat (limited to 'src/runtime/malloc.go')
| -rw-r--r-- | src/runtime/malloc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go index e85535ea9f..c5f6facc4d 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go @@ -903,6 +903,7 @@ var globalAlloc struct { // There is no associated free operation. // Intended for things like function/type/debug-related persistent data. // If align is 0, uses default align (currently 8). +// The returned memory will be zeroed. // // Consider marking persistentalloc'd types go:notinheap. func persistentalloc(size, align uintptr, sysStat *uint64) unsafe.Pointer { |
