go/src/runtime/mfinal_test.go

type Tintptr

type Tint

func (t *Tint) m() {}

type Tinter

func TestFinalizerType(t *testing.T) {}

type bigValue

func TestFinalizerInterfaceBig(t *testing.T) {}

func fin(v *int) {}

// Verify we don't crash at least. golang.org/issue/6857
func TestFinalizerZeroSizedStruct(t *testing.T) {}

func BenchmarkFinalizer(b *testing.B) {}

func BenchmarkFinalizerRun(b *testing.B) {}

const objsize

type objtype

func adjChunks() (*objtype, *objtype) {}

// Make sure an empty slice on the stack doesn't pin the next object in memory.
func TestEmptySlice(t *testing.T) {}

var xsglobal

func adjStringChunk() (string, *objtype) {}

// Make sure an empty string on the stack doesn't pin the next object in memory.
func TestEmptyString(t *testing.T) {}

var ssglobal

// Test for issue 7656.
func TestFinalizerOnGlobal(t *testing.T) {}

type Object1

type Object2

var Foo2

var Foo1

func TestDeferKeepAlive(t *testing.T) {}