Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGoroutineSwitch (0.3 sec)

  1. src/runtime/pprof/pprof_test.go

    // Test that profiler does not observe runtime.gogo as "user" goroutine execution.
    // If it did, it would see inconsistent state and would either record an incorrect stack
    // or crash because the stack was malformed.
    func TestGoroutineSwitch(t *testing.T) {
    	if runtime.Compiler == "gccgo" {
    		t.Skip("not applicable for gccgo")
    	}
    	// How much to try. These defaults take about 1 seconds
    	// on a 2012 MacBook Pro. The ones in short mode take
    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