package
0.0.0-20190322182713-bf6f0a60fce1
Repository: https://github.com/llvm-mirror/llgo.git
Documentation: pkg.go.dev
# Functions
FreeOSMemory forces a garbage collection followed by an attempt to return as much memory to the operating system as possible.
PrintStack prints to standard error the stack trace returned by Stack.
ReadGCStats reads statistics about garbage collection into stats.
SetGCPercent sets the garbage collection target percentage: a collection is triggered when the ratio of freshly allocated data to live data remaining after the previous collection reaches this percentage.
SetMaxStack sets the maximum amount of memory that can be used by a single goroutine stack.
SetMaxThreads sets the maximum number of operating system threads that the Go program can use.
SetPanicOnFault controls the runtime's behavior when a program faults at an unexpected (non-nil) address.
Stack returns a formatted stack trace of the goroutine that calls it.
WriteHeapDump writes a description of the heap and the objects in it to the given file descriptor.