- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 231 for Gc (1.99 sec)
-
src/internal/trace/gc.go
// Started running while doing GC things. ps[ev.Proc()].gc++ } else if old.Executing() && !new.Executing() { // Stopped running while doing GC things. ps[ev.Proc()].gc-- } } states[g] = new case EventLabel: l := ev.Label() if flags&UtilBackground != 0 && strings.HasPrefix(l.Label, "GC ") && l.Label != "GC (idle)" { // Background mark worker. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
src/runtime/testdata/testprog/gc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 12.1K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
ppath := p.ImportPath if cfg.BuildBuildmode == "plugin" { ppath = pluginPath(a) } else if p.Name == "main" && !p.Internal.ForceLibrary { ppath = "main" } return ppath } func (gcToolchain) gc(b *Builder, a *Action, archive string, importcfg, embedcfg []byte, symabis string, asmhdr bool, pgoProfile string, gofiles []string) (ofile string, output []byte, err error) { p := a.Package sh := b.Shell(a) objdir := a.Objdir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/runtime/metrics/doc.go
to system CPU time measurements. Compare only with other /cpu/classes metrics. /gc/cycles/automatic:gc-cycles Count of completed GC cycles generated by the Go runtime. /gc/cycles/forced:gc-cycles Count of completed GC cycles forced by the application. /gc/cycles/total:gc-cycles Count of all completed GC cycles. /gc/gogc:percent Heap size target percentage configured by the user, otherwise
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:43 UTC 2024 - 20K bytes - Viewed (0) -
src/runtime/metrics_test.go
case "/gc/heap/frees:objects": objects.frees = samples[i].Value.Uint64() case "/gc/heap/frees-by-size:bytes": objects.free = samples[i].Value.Float64Histogram() case "/gc/cycles:gc-cycles": gc.numGC = samples[i].Value.Uint64() case "/gc/pauses:seconds": h := samples[i].Value.Float64Histogram() gc.pauses = 0 for i := range h.Counts { gc.pauses += h.Counts[i] } case "/gc/scan/heap:bytes":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector.go
func (gc *GarbageCollector) processAttemptToDeleteWorker(ctx context.Context) bool { item, quit := gc.attemptToDelete.Get() gc.workerLock.RLock() defer gc.workerLock.RUnlock() if quit { return false } defer gc.attemptToDelete.Done(item) action := gc.attemptToDeleteWorker(ctx, item) switch action { case forgetItem: gc.attemptToDelete.Forget(item) case requeueItem:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.9K bytes - Viewed (0) -
src/runtime/metrics/description.go
}, { Name: "/gc/scan/stack:bytes", Description: "The number of bytes of stack that were scanned last GC cycle.", Kind: KindUint64, }, { Name: "/gc/scan/total:bytes", Description: "The total amount space that is scannable. Sum of all metrics in /gc/scan.", Kind: KindUint64, }, { Name: "/gc/stack/starting-size:bytes",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 17:59:12 UTC 2023 - 19.6K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
// This package only handles gc export data. if runtime.Compiler != "gc" { t.Skipf("gc-built packages not available (compiler = %s)", runtime.Compiler) } compileAndImportPkg(t, "issue15920") } func TestIssue20046(t *testing.T) { testenv.MustHaveGoBuild(t) // This package only handles gc export data. if runtime.Compiler != "gc" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/runtime/mgclimit.go
// instance, on a system with 32 Ps but only 1 running goroutine, each GC will have // 8 dedicated GC workers. Assuming the GC cycle is half mark phase and half sweep // phase, then the GC CPU utilization over that cycle, with idle time removed, will // be 8/(8+2) = 80%. Even though the limiter turns on, though, assist should be // unnecessary, as the GC has way more CPU time to outpace the 1 goroutine that's // running.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 17.3K bytes - Viewed (0) -
src/runtime/gc_test.go
// Test that runtime.GC() triggers a GC even if GOGC=off. defer debug.SetGCPercent(debug.SetGCPercent(-1)) var ms1, ms2 runtime.MemStats runtime.ReadMemStats(&ms1) runtime.GC() runtime.ReadMemStats(&ms2) if ms1.NumGC == ms2.NumGC { t.Fatalf("runtime.GC() did not trigger GC") } if ms1.NumForcedGC == ms2.NumForcedGC { t.Fatalf("runtime.GC() was not accounted in NumForcedGC") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 22:33:52 UTC 2024 - 17.6K bytes - Viewed (0)