Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestG0StackOverflow (0.26 sec)

  1. src/runtime/crash_test.go

    	}
    }
    
    // Test that g0 stack overflows are handled gracefully.
    func TestG0StackOverflow(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	if runtime.GOOS == "ios" {
    		testenv.SkipFlaky(t, 62671)
    	}
    
    	if os.Getenv("TEST_G0_STACK_OVERFLOW") != "1" {
    		cmd := testenv.CleanCmdEnv(testenv.Command(t, os.Args[0], "-test.run=^TestG0StackOverflow$", "-test.v"))
    		cmd.Env = append(cmd.Env, "TEST_G0_STACK_OVERFLOW=1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/runtime/signal_windows.go

    	// and end up in sigtrampgo again.
    	// TODO: revisit this workaround if/when closures
    	// can be compiled as nosplit.
    	//
    	// Note that this scenario should only occur on
    	// TestG0StackOverflow. Any other occurrence should
    	// be treated as a bug.
    	var ret int32
    	if gp != gp.m.g0 {
    		systemstack(func() {
    			ret = fn(ep.record, ep.context, gp)
    		})
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top