Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocAndTouch ¶
func AllocAndTouch(bytes int64)
func FreeAllocs ¶
func FreeAllocs()
This doesn't have an effect on virtual memory usage. I /think/ its working, but I think it'll just reduce physical usage, if that? free() just sticks the virtual address space back on the free list. The OS will attempt to reclaim anon pages, but a) can they actually go on the free list not just get swapped out, and b) will it only do this under memory pressure?
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.