mm

package
v0.0.0-...-937fe99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Debug enables debug stats
	Debug = true
)

Functions

func Free

func Free(p unsafe.Pointer)

Free implements C like memory deallocator

func FreeOSMemory

func FreeOSMemory() error

FreeOSMemory forces jemalloc to scrub memory and release back to OS

func Malloc

func Malloc(l int) unsafe.Pointer

Malloc implements C like memory allocator

func Size

func Size() uint64

Size returns total size allocated by mm allocator

func Stats

func Stats() string

Stats returns allocator statistics Returns jemalloc stats

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL