Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMemoryLimit (0.12 sec)

  1. src/runtime/gc_test.go

    	}
    }
    
    func countpwg(n *int, ready *sync.WaitGroup, teardown chan bool) {
    	if *n == 0 {
    		ready.Done()
    		<-teardown
    		return
    	}
    	*n--
    	countpwg(n, ready, teardown)
    }
    
    func TestMemoryLimit(t *testing.T) {
    	if testing.Short() {
    		t.Skip("stress test that takes time to run")
    	}
    	if runtime.NumCPU() < 4 {
    		t.Skip("want at least 4 CPUs for this test")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top