- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPageCacheLeak (0.25 sec)
-
src/runtime/malloc_test.go
tinyObj12 := runtime.Escape(new(obj12)) // Try to atomically access "x.a". atomic.StoreUint64(&tinyObj12.a, 10) runtime.Releasem() } func TestPageCacheLeak(t *testing.T) { defer GOMAXPROCS(GOMAXPROCS(1)) leaked := PageCachePagesLeaked() if leaked != 0 { t.Fatalf("found %d leaked pages in page caches", leaked) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 10.6K bytes - Viewed (0)