Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Scavenge (0.11 sec)

  1. src/runtime/mpagealloc.go

    	inUse addrRanges
    
    	// scav stores the scavenger state.
    	scav struct {
    		// index is an efficient index of chunks that have pages available to
    		// scavenge.
    		index scavengeIndex
    
    		// releasedBg is the amount of memory released in the background this
    		// scavenge cycle.
    		releasedBg atomic.Uintptr
    
    		// releasedEager is the amount of memory released eagerly this scavenge
    		// cycle.
    		releasedEager atomic.Uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  2. src/runtime/lockrank.go

    const lockRankLeafRank lockRank = 1000
    
    // lockNames gives the names associated with each of the above ranks.
    var lockNames = []string{
    	lockRankSysmon:          "sysmon",
    	lockRankScavenge:        "scavenge",
    	lockRankForcegc:         "forcegc",
    	lockRankDefer:           "defer",
    	lockRankSweepWaiters:    "sweepWaiters",
    	lockRankAssistQueue:     "assistQueue",
    	lockRankSweep:           "sweep",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/mpagecache.go

    			cache: ^chunk.pages64(chunkPageIndex(addr)),
    			scav:  chunk.scavenged.block64(chunkPageIndex(addr)),
    		}
    	}
    
    	// Set the page bits as allocated and clear the scavenged bits, but
    	// be careful to only set and clear the relevant bits.
    	cpi := chunkPageIndex(c.base)
    	chunk.allocPages64(cpi, c.cache)
    	chunk.scavenged.clearBlock64(cpi, c.cache&c.scav /* free and scavenged */)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top