Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCPUProfileWithFork (0.16 sec)

  1. src/runtime/pprof/pprof_test.go

    				ok = false
    			}
    		}
    		return
    	}
    }
    
    // Fork can hang if preempted with signals frequently enough (see issue 5517).
    // Ensure that we do not do this.
    func TestCPUProfileWithFork(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	exe, err := os.Executable()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	heap := 1 << 30
    	if runtime.GOOS == "android" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top