Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for GOGC (0.17 sec)

  1. src/runtime/gc_test.go

    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func TestGcSys(t *testing.T) {
    	t.Skip("skipping known-flaky test; golang.org/issue/37331")
    	if os.Getenv("GOGC") == "off" {
    		t.Skip("skipping test; GOGC=off in environment")
    	}
    	got := runTestProg(t, "testprog", "GCSys")
    	want := "OK\n"
    	if got != want {
    		t.Fatalf("expected %q, but got %q", want, got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    func TestLabelSystemstack(t *testing.T) {
    	// Grab and re-set the initial value before continuing to ensure
    	// GOGC doesn't actually change following the test.
    	gogc := debug.SetGCPercent(100)
    	debug.SetGCPercent(gogc)
    
    	matches := matchAndAvoidStacks(stackContainsLabeled, []string{"runtime.systemstack;key=value"}, avoidFunctions())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. src/runtime/extern.go

    and use may change from release to release.
    
    The GOGC variable sets the initial garbage collection target percentage.
    A collection is triggered when the ratio of freshly allocated data to live data
    remaining after the previous collection reaches this percentage. The default
    is GOGC=100. Setting GOGC=off disables the garbage collector entirely.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    // the amount already in use. The proportion is controlled by GOGC environment variable
    // (100 by default). If GOGC=100 and we're using 4M, we'll GC again when we get to 8M
    // (this mark is computed by the gcController.heapGoal method). This keeps the GC cost in
    // linear proportion to the allocation cost. Adjusting GOGC just changes the linear constant
    // (and also the amount of extra memory used).
    
    // Oblets
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/controllermanager.go

    	logger := klog.FromContext(ctx)
    	stopCh := ctx.Done()
    
    	// To help debugging, immediately log version
    	logger.Info("Starting", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	// Start events processing pipeline.
    	c.EventBroadcaster.StartStructuredLogging(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. src/runtime/mstats.go

    	//
    	// The garbage collector's goal is to keep HeapAlloc ≤ NextGC.
    	// At the end of each GC cycle, the target for the next cycle
    	// is computed based on the amount of reachable data and the
    	// value of GOGC.
    	NextGC uint64
    
    	// LastGC is the time the last garbage collection finished, as
    	// nanoseconds since 1970 (the UNIX epoch).
    	LastGC uint64
    
    	// PauseTotalNs is the cumulative nanoseconds in GC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. src/runtime/metrics/description.go

    		Kind:        KindUint64,
    		Cumulative:  true,
    	},
    	{
    		Name: "/gc/gogc:percent",
    		Description: "Heap size target percentage configured by the user, otherwise 100. This " +
    			"value is set by the GOGC environment variable, and the runtime/debug.SetGCPercent " +
    			"function.",
    		Kind: KindUint64,
    	},
    	{
    		Name: "/gc/gomemlimit:bytes",
    		Description: "Go runtime memory limit configured by the user, otherwise " +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. src/runtime/metrics/doc.go

    	/gc/cycles/total:gc-cycles
    		Count of all completed GC cycles.
    
    	/gc/gogc:percent
    		Heap size target percentage configured by the user, otherwise
    		100. This value is set by the GOGC environment variable, and the
    		runtime/debug.SetGCPercent function.
    
    	/gc/gomemlimit:bytes
    		Go runtime memory limit configured by the user, otherwise
    		math.MaxInt64. This value is set by the GOMEMLIMIT environment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server.go

    	// To help debugging, immediately log version
    	klog.InfoS("Kubelet version", "kubeletVersion", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	if err := initForOS(s.KubeletFlags.WindowsService, s.KubeletFlags.WindowsPriorityClass); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server.go

    	logger := klog.FromContext(ctx)
    	// To help debugging, immediately log version
    	logger.Info("Version info", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	proxymetrics.RegisterMetrics(s.Config.Mode)
    
    	// TODO(vmarmol): Use container config for this.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top