- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,288 for nextGC (0.2 sec)
-
src/runtime/debug/garbage_test.go
t.Fatalf("failed to set up baseline live heap; got %d MB, want %d MB", ms.Alloc>>20, baseline>>20) } // NextGC should be ~200 MB. const thresh = 20 << 20 // TODO: Figure out why this is so noisy on some builders if want := int64(2 * baseline); abs64(want-int64(ms.NextGC)) > thresh { t.Errorf("NextGC = %d MB, want %d±%d MB", ms.NextGC>>20, want>>20, thresh>>20) } // Create some garbage, but not enough to trigger another GC.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:30:00 UTC 2023 - 7.2K bytes - Viewed (0) -
pkg/ctrlz/topics/assets/templates/mem.html
<td>StackSys</td> <td id="StackSys">{{.StackSys}} bytes</td> <td>Stack memory obtained from the OS.</td> </tr> <tr> <td>NextGC</td> <td id="NextGC">{{.NextGC}} bytes</td> <td>Target heap size of the next GC cycle.</td> </tr> <tr> <td>LastGC</td> <td id="LastGC"></td> <td>The time the last garbage collection finished.</td>
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.2K bytes - Viewed (0) -
src/internal/trace/traceviewer/format/format.go
} type BlockedArg struct { Blocked string `json:"blocked"` } type SortIndexArg struct { Index int `json:"sort_index"` } type HeapCountersArg struct { Allocated uint64 NextGC uint64 } const ( ProcsSection = 0 // where Goroutines or per-P timelines are presented. StatsSection = 1 // where counters are presented. TasksSection = 2 // where Task hierarchy & timeline is presented. )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/trace/traceviewer/emitter.go
const PB = 1 << 50 if v > PB { v = 0 } e.heapStats.nextGC = v e.emitHeapCounters(ts) } func (e *Emitter) emitHeapCounters(ts time.Duration) { if e.prevHeapStats == e.heapStats { return } diff := uint64(0) if e.heapStats.nextGC > e.heapStats.heapAlloc { diff = e.heapStats.nextGC - e.heapStats.heapAlloc } if e.tsWithinRange(ts) { e.OptionalEvent(&format.Event{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:58 UTC 2023 - 20.4K bytes - Viewed (0) -
src/runtime/mstats.go
OtherSys uint64 // Garbage collector statistics. // NextGC is the target heap size of the next GC cycle. // // 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0) -
src/cmd/trace/jsontrace_test.go
hms := heapMetrics(data) var nonZeroAllocated, nonZeroNextGC bool for _, hm := range hms { if hm.Allocated > 0 { nonZeroAllocated = true } if hm.NextGC > 0 { nonZeroNextGC = true } } if !nonZeroAllocated { t.Errorf("nonZeroAllocated=%v, want true", nonZeroAllocated) } if !nonZeroNextGC {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0) -
src/runtime/malloc_test.go
} return } disallowed := [][2]uintptr{} // Drop all but the next 3 hints. 64-bit has a lot of hints, // so it would take a lot of memory to go through all of them. KeepNArenaHints(3) // Consume these 3 hints and force the runtime to find some // fallback hints. for i := 0; i < 5; i++ { // Reserve memory at the next hint so it can't be used // for the heap. start, end, ok := MapNextArenaHint()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 10.6K bytes - Viewed (0) -
src/runtime/testdata/testprog/gc.go
// returned to the OS. fmt.Printf("exceeded physical memory overuse threshold of %3.2f%%: %3.2f%%\n"+ "(alloc: %d, goal: %d, sys: %d, rel: %d, objs: %d)\n", threshold*100, overuse*100, stats.HeapAlloc, stats.NextGC, stats.HeapSys, stats.HeapReleased, len(saved)) runtime.KeepAlive(saved) runtime.KeepAlive(condemned) } // Test that defer closure is correctly scanned when the stack is scanned. func DeferLiveness() {
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/runtime/pprof/pprof.go
fmt.Fprintf(w, "# BuckHashSys = %d\n", s.BuckHashSys) fmt.Fprintf(w, "# GCSys = %d\n", s.GCSys) fmt.Fprintf(w, "# OtherSys = %d\n", s.OtherSys) fmt.Fprintf(w, "# NextGC = %d\n", s.NextGC) fmt.Fprintf(w, "# LastGC = %d\n", s.LastGC) fmt.Fprintf(w, "# PauseNs = %d\n", s.PauseNs) fmt.Fprintf(w, "# PauseEnd = %d\n", s.PauseEnd) fmt.Fprintf(w, "# NumGC = %d\n", s.NumGC)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
src/runtime/heapdump.go
dumpint(m.StackSys) dumpint(m.MSpanInuse) dumpint(m.MSpanSys) dumpint(m.MCacheInuse) dumpint(m.MCacheSys) dumpint(m.BuckHashSys) dumpint(m.GCSys) dumpint(m.OtherSys) dumpint(m.NextGC) dumpint(m.LastGC) dumpint(m.PauseTotalNs) for i := 0; i < 256; i++ { dumpint(m.PauseNs[i]) } dumpint(uint64(m.NumGC)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0)