Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setMaxStack (0.14 sec)

  1. src/runtime/debug/garbage.go

    // of the value provided to SetMaxStack.
    //
    // SetMaxStack is useful mainly for limiting the damage done by
    // goroutines that enter an infinite recursion. It only limits future
    // stack growth.
    func SetMaxStack(bytes int) int {
    	return setMaxStack(bytes)
    }
    
    // SetMaxThreads sets the maximum number of operating system
    // threads that the Go program can use. If it attempts to use more than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	if goarch.PtrSize == 8 {
    		maxstacksize = 1000000000
    	} else {
    		maxstacksize = 250000000
    	}
    
    	// An upper limit for max stack size. Used to avoid random crashes
    	// after calling SetMaxStack and trying to allocate a stack that is too big,
    	// since stackalloc works with 32-bit sizes.
    	maxstackceiling = 2 * maxstacksize
    
    	// Allow newproc to start new Ms.
    	mainStarted = true
    
    	if haveSysmon {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Module.Version", Field, 12},
    		{"ParseBuildInfo", Func, 18},
    		{"PrintStack", Func, 0},
    		{"ReadBuildInfo", Func, 12},
    		{"ReadGCStats", Func, 1},
    		{"SetGCPercent", Func, 1},
    		{"SetMaxStack", Func, 2},
    		{"SetMaxThreads", Func, 2},
    		{"SetMemoryLimit", Func, 19},
    		{"SetPanicOnFault", Func, 3},
    		{"SetTraceback", Func, 6},
    		{"Stack", Func, 0},
    		{"WriteHeapDump", Func, 3},
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top