Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for Scavenge (0.13 sec)

  1. src/runtime/metrics.go

    			},
    		},
    		"/cpu/classes/scavenge/assist:cpu-seconds": {
    			deps: makeStatDepSet(cpuStatsDep),
    			compute: func(in *statAggregate, out *metricValue) {
    				out.kind = metricKindFloat64
    				out.scalar = float64bits(nsToSec(in.cpuStats.ScavengeAssistTime))
    			},
    		},
    		"/cpu/classes/scavenge/background:cpu-seconds": {
    			deps: makeStatDepSet(cpuStatsDep),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. src/runtime/mstats.go

    	scavAssistCpu := scavenge.assistTime.Load()
    	scavBgCpu := scavenge.backgroundTime.Load()
    
    	// Update cumulative GC CPU stats.
    	s.GCAssistTime += markAssistCpu
    	s.GCDedicatedTime += markDedicatedCpu + markFractionalCpu
    	s.GCIdleTime += markIdleCpu
    	s.GCTotalTime += markAssistCpu + markDedicatedCpu + markFractionalCpu + markIdleCpu
    
    	// Update cumulative scavenge CPU stats.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc_64bit.go

    		sysMap(unsafe.Pointer(need.base.addr()), need.size(), p.sysStat)
    		sysUsed(unsafe.Pointer(need.base.addr()), need.size(), need.size())
    		p.summaryMappedReady += need.size()
    	}
    
    	// Update the scavenge index.
    	p.summaryMappedReady += p.scav.index.sysGrow(base, limit, p.sysStat)
    }
    
    // sysGrow increases the index's backing store in response to a heap growth.
    //
    // Returns the amount of memory added to sysStat.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/runtime/mgcsweep.go

    		// close to done sweeping.
    
    		// Move the scavenge gen forward (signaling
    		// that there's new work to do) and wake the scavenger.
    		//
    		// The scavenger is signaled by the last sweeper because once
    		// sweeping is done, we will definitely have useful work for
    		// the scavenger to do, since the scavenger only runs over the
    		// heap once per GC cycle. This update is not done during sweep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    	// Reset assist time and background time stats.
    	//
    	// Do this now, instead of at the start of the next GC cycle, because
    	// these two may keep accumulating even if the GC is not active.
    	scavenge.assistTime.Store(0)
    	scavenge.backgroundTime.Store(0)
    
    	// Reset idle time stat.
    	sched.idleTime.Store(0)
    
    	if work.userForced {
    		memstats.numforcedgc++
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. src/runtime/mgclimit.go

    	limiterEventMarkAssist                             // Refers to mark assist (see gcAssistAlloc).
    	limiterEventScavengeAssist                         // Refers to a scavenge assist (see allocSpan).
    	limiterEventIdle                                   // Refers to time a P spent on the idle list.
    
    	limiterEventBits = 3
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	waitReasonGCAssistWait                            // "GC assist wait"
    	waitReasonGCSweepWait                             // "GC sweep wait"
    	waitReasonGCScavengeWait                          // "GC scavenge wait"
    	waitReasonChanReceive                             // "chan receive"
    	waitReasonChanSend                                // "chan send"
    	waitReasonFinalizerWait                           // "finalizer wait"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. src/runtime/mpallocbits.go

    	// Clear the scavenged bits when we alloc the range.
    	m.pallocBits.allocRange(i, n)
    	m.scavenged.clearRange(i, n)
    }
    
    // allocAll sets every bit in the bitmap to 1 and updates
    // the scavenged bits appropriately.
    func (m *pallocData) allocAll() {
    	// Clear the scavenged bits when we alloc the range.
    	m.pallocBits.allocAll()
    	m.scavenged.clearAll()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/runtime/mgcpacer.go

    // userForced indicates whether the current GC cycle was forced
    // by the application.
    func (c *gcControllerState) endCycle(now int64, procs int, userForced bool) {
    	// Record last heap goal for the scavenger.
    	// We'll be updating the heap goal soon.
    	gcController.lastHeapGoal = c.heapGoal()
    
    	// Compute the duration of time for which assists were turned on.
    	assistDuration := now - c.markStartTime
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. src/runtime/extern.go

    	runtime.GC() call.
    
    	harddecommit: setting harddecommit=1 causes memory that is returned to the OS to
    	also have protections removed on it. This is the only mode of operation on Windows,
    	but is helpful in debugging scavenger-related issues on other platforms. Currently,
    	only supported on Linux.
    
    	inittrace: setting inittrace=1 causes the runtime to emit a single line to standard
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top