bdwgc

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LLGoPackage = "link: $(pkg-config --libs bdw-gc); -lgc"
)

Variables

This section is empty.

Functions

func CollectALittle

func CollectALittle()

func Disable

func Disable()

func Enable

func Enable()

func EnableIncremental

func EnableIncremental()

func Free

func Free(ptr c.Pointer)

func Gcollect

func Gcollect()

func GetMemoryUse

func GetMemoryUse() uintptr

func IncrementalProtectionNeeds

func IncrementalProtectionNeeds() c.Int

func Init

func Init()

func IsDisabled

func IsDisabled() c.Int

func IsIncrementalMode

func IsIncrementalMode() c.Int

func Malloc

func Malloc(size uintptr) c.Pointer

func Realloc

func Realloc(ptr c.Pointer, size uintptr) c.Pointer

func RegisterFinalizer

func RegisterFinalizer(
	obj c.Pointer,
	fn func(c.Pointer, c.Pointer), cd c.Pointer,
	oldFn *func(c.Pointer, c.Pointer), oldCd *c.Pointer)

func RegisterFinalizerIgnoreSelf

func RegisterFinalizerIgnoreSelf(
	obj c.Pointer,
	fn func(c.Pointer, c.Pointer), cd c.Pointer,
	oldFn *func(c.Pointer, c.Pointer), oldCd *c.Pointer)

func RegisterFinalizerNoOrder

func RegisterFinalizerNoOrder(
	obj c.Pointer,
	fn func(c.Pointer, c.Pointer), cd c.Pointer,
	oldFn *func(c.Pointer, c.Pointer), oldCd *c.Pointer)

func RegisterFinalizerUnreachable

func RegisterFinalizerUnreachable(
	obj c.Pointer,
	fn func(c.Pointer, c.Pointer), cd c.Pointer,
	oldFn *func(c.Pointer, c.Pointer), oldCd *c.Pointer)

func StartIncrementalCollection

func StartIncrementalCollection()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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