Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for GOGC (0.45 sec)

  1. src/cmd/compile/internal/base/base.go

    	// - except for the first heap goal, heap goal is a function of
    	//   observed-live at the previous GC and current GOGC.  After the first
    	//   GC, adjusting GOGC immediately updates GOGC; before the first GC,
    	//   adjusting GOGC does not modify goal (but the change takes effect after
    	//   the first GC).
    
    	// - the before/after first GC behavior is not guaranteed anywhere, it's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/stackswitch.go

    	// We want to trigger a bounds check on the g0 stack. To do this, we
    	// need to call a splittable function through systemstack().
    	// SetGCPercent contains such a systemstack call.
    	gogc := debug.SetGCPercent(100)
    	debug.SetGCPercent(gogc)
    }
    
    // Regression test for https://go.dev/issue/62440. It should be possible for C
    // threads to call into Go from different stacks without crashing due to g0
    // stack bounds checks.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/server.go

    func Run(ctx context.Context, opts options.CompletedOptions) error {
    	// To help debugging, immediately log version
    	klog.Infof("Version: %+v", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	config, err := NewConfig(opts)
    	if err != nil {
    		return err
    	}
    	completed, err := config.Complete()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/runtime/mgcpacer.go

    	// For small heaps, this overrides the usual GOGC*live set rule.
    	//
    	// When there is a very small live set but a lot of allocation, simply
    	// collecting when the heap reaches GOGC*live results in many GC
    	// cycles and high total per-GC overhead. This minimum amortizes this
    	// per-GC overhead while keeping the heap reasonably small.
    	//
    	// During initialization this is set to 4MB*GOGC/100. In the case of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/env_write.txt

    env GOPATH=$root/other
    go env -u GOPATH
    ! stderr .+
    go env -u GOPATH
    ! stderr .+
    
    # go env -w rejects unknown or bad variables
    ! go env -w GOGC=off
    stderr 'unknown go command variable GOGC'
    ! go env -w GOEXE=.bat
    stderr 'GOEXE cannot be modified'
    ! go env -w GOVERSION=customversion
    stderr 'GOVERSION cannot be modified'
    ! go env -w GOENV=/env
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/runtime/crash_unix_test.go

    	cmd.Dir = t.TempDir() // put any core file in tempdir
    	cmd.Env = append(cmd.Env,
    		"GOTRACEBACK=crash",
    		// Set GOGC=off. Because of golang.org/issue/10958, the tight
    		// loops in the test program are not preemptible. If GC kicks
    		// in, it may lock up and prevent main from saying it's ready.
    		"GOGC=off",
    		// Set GODEBUG=asyncpreemptoff=1. If a thread is preempted
    		// when it receives SIGQUIT, it won't show the expected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. cmd/kube-scheduler/app/server.go

    	logger := klog.FromContext(ctx)
    
    	// To help debugging, immediately log version
    	logger.Info("Starting Kubernetes Scheduler", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	// Configz registration.
    	if cz, err := configz.New("componentconfig"); err == nil {
    		cz.Set(cc.ComponentConfig)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. buildscripts/verify-build.sh

    export MC_HOST_verify_ipv6="http://minio:minio123@[::1]:9000/"
    export ACCESS_KEY="minio"
    export SECRET_KEY="minio123"
    export ENABLE_HTTPS=0
    export GO111MODULE=on
    export GOGC=25
    export ENABLE_ADMIN=1
    export MINIO_CI_CD=1
    
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR")
    
    FILE_1_MB="$MINT_DATA_DIR/datafile-1-MB"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/runtime/debug/garbage.go

    // to live data remaining after the previous collection reaches this percentage.
    // SetGCPercent returns the previous setting.
    // The initial setting is the value of the GOGC environment variable
    // at startup, or 100 if the variable is not set.
    // This setting may be effectively reduced in order to maintain a memory
    // limit.
    // A negative percentage effectively disables garbage collection, unless
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    )
    
    // typeOf returns a distinct single-bit value that represents the type of n.
    //
    // Various implementations were benchmarked with BenchmarkNewInspector:
    //
    //	                                                                GOGC=off
    //	- type switch					4.9-5.5ms	2.1ms
    //	- binary search over a sorted list of types	5.5-5.9ms	2.5ms
    //	- linear scan, frequency-ordered list		5.9-6.1ms	2.7ms
    //	- linear scan, unordered list			6.4ms		2.7ms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top