- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GCSweepStart (0.13 sec)
-
src/runtime/traceruntime.go
} // GCSweepStart prepares to trace a sweep loop. This does not // emit any events until traceGCSweepSpan is called. // // GCSweepStart must be paired with traceGCSweepDone and there // must be no preemption points between these two calls. // // Must be called with a valid P. func (tl traceLocker) GCSweepStart() { // Delay the actual GCSweepBegin event until the first span
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/runtime/mcentral.go
spanBytes := uintptr(class_to_allocnpages[c.spanclass.sizeclass()]) * _PageSize deductSweepCredit(spanBytes, 0) traceDone := false trace := traceAcquire() if trace.ok() { trace.GCSweepStart() traceRelease(trace) } // If we sweep spanBudget spans without finding any free // space, just allocate a fresh span. This limits the amount // of time we can spend trying to find free space and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.1K bytes - Viewed (0) -
src/runtime/mgcsweep.go
if mheap_.sweepPagesPerByte == 0 { // Proportional sweep is done or disabled. return } trace := traceAcquire() if trace.ok() { trace.GCSweepStart() traceRelease(trace) } // Fix debt if necessary. retry: sweptBasis := mheap_.pagesSweptBasis.Load() live := gcController.heapLive.Load() liveBasis := mheap_.sweepHeapLiveBasis
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
EvSTWStart: {"GCSTWStart", 5, false, []string{"kindid"}, []string{"kind"}}, // <= 1.9, args was {} (implicitly {0}) EvSTWDone: {"GCSTWDone", 5, false, []string{}, nil}, EvGCSweepStart: {"GCSweepStart", 5, true, []string{}, nil}, EvGCSweepDone: {"GCSweepDone", 5, false, []string{"swept", "reclaimed"}, nil}, // before 1.9, format was {} EvGoCreate: {"GoCreate", 5, true, []string{"g", "stack"}, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
src/runtime/mheap.go
// sweeping, so we can read h.sweepArenas, and so // traceGCSweepStart/Done pair on the P. mp := acquirem() trace := traceAcquire() if trace.ok() { trace.GCSweepStart() traceRelease(trace) } arenas := h.sweepArenas locked := false for npage > 0 { // Pull from accumulated credit first. if credit := h.reclaimCredit.Load(); credit > 0 { take := credit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0)