go/src/runtime/gc_test.go

func TestGcSys(t *testing.T) {}

func TestGcDeepNesting(t *testing.T) {}

func TestGcMapIndirection(t *testing.T) {}

func TestGcArraySlice(t *testing.T) {}

func TestGcRescan(t *testing.T) {}

func TestGcLastTime(t *testing.T) {}

var hugeSink

func TestHugeGCInfo(t *testing.T) {}

func TestPeriodicGC(t *testing.T) {}

func TestGcZombieReporting(t *testing.T) {}

func TestGCTestMoveStackOnNextCall(t *testing.T) {}

// This must not be inlined because the point is to force a stack
// growth check and move the stack.
//
//go:noinline
func moveStackCheck(t *testing.T, new *int, old uintptr) bool {}

func TestGCTestMoveStackRepeatedly(t *testing.T) {}

//go:noinline
func moveStack1(x bool) {}

func TestGCTestIsReachable(t *testing.T) {}

var pointerClassBSS

var pointerClassData

func TestGCTestPointerClass(t *testing.T) {}

func BenchmarkAllocation(b *testing.B) {}

func TestPrintGC(t *testing.T) {}

func testTypeSwitch(x any) error {}

func testAssert(x any) error {}

func testAssertVar(x any) error {}

var a

//go:noinline
func testIfaceEqual(x any) {}

func TestPageAccounting(t *testing.T) {}

func init() {}

func TestReadMemStats(t *testing.T) {}

func logDiff(t *testing.T, prefix string, got, want reflect.Value) {}

func BenchmarkReadMemStats(b *testing.B) {}

func applyGCLoad(b *testing.B) func() {}

func BenchmarkReadMemStatsLatency(b *testing.B) {}

func TestUserForcedGC(t *testing.T) {}

func writeBarrierBenchmark(b *testing.B, f func()) {}

func BenchmarkWriteBarrier(b *testing.B) {}

func BenchmarkBulkWriteBarrier(b *testing.B) {}

func BenchmarkScanStackNoLocals(b *testing.B) {}

func BenchmarkMSpanCountAlloc(b *testing.B) {}

func countpwg(n *int, ready *sync.WaitGroup, teardown chan bool) {}

func TestMemoryLimit(t *testing.T) {}

func TestMemoryLimitNoGCPercent(t *testing.T) {}

func TestMyGenericFunc(t *testing.T) {}