Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parsedebugvars (0.79 sec)

  1. src/runtime/runtime.go

    //go:nosplit
    func syscall_Exit(code int) {
    	exit(int32(code))
    }
    
    var godebugDefault string
    var godebugUpdate atomic.Pointer[func(string, string)]
    var godebugEnv atomic.Pointer[string] // set by parsedebugvars
    var godebugNewIncNonDefault atomic.Pointer[func(string) func()]
    
    //go:linkname godebug_setUpdate internal/godebug.setUpdate
    func godebug_setUpdate(update func(string, string)) {
    	p := new(func(string, string))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/runtime/runtime1.go

    	setTraceback(gogetenv("GOTRACEBACK"))
    	traceback_env = traceback_cache
    }
    
    // reparsedebugvars reparses the runtime's debug variables
    // because the environment variable has been changed to env.
    func reparsedebugvars(env string) {
    	seen := make(map[string]bool)
    	// apply environment settings
    	parsegodebug(env, seen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    	// Note: parsedebugvars may update MemProfileRate, but when disableMemoryProfiling is
    	// set to true by the linker, it means that nothing is consuming the profile, it is
    	// safe to set MemProfileRate to 0.
    	if disableMemoryProfiling {
    		MemProfileRate = 0
    	}
    
    	// mcommoninit runs before parsedebugvars, so init profstacks again.
    	mProfStackInit(gp.m)
    
    	lock(&sched.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top