Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for moveStack1 (0.21 sec)

  1. src/runtime/gc_test.go

    	// Move the stack repeatedly to make sure we're not doubling
    	// it each time.
    	for i := 0; i < 100; i++ {
    		runtime.GCTestMoveStackOnNextCall()
    		moveStack1(false)
    	}
    }
    
    //go:noinline
    func moveStack1(x bool) {
    	// Make sure this function doesn't get auto-nosplit.
    	if x {
    		println("x")
    	}
    }
    
    func TestGCTestIsReachable(t *testing.T) {
    	var all, half []unsafe.Pointer
    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