Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Scavenged (0.14 sec)

  1. src/runtime/mgcpacer.go

    	// only heap object memory. Intuitively, the way we convert from one to the other is to
    	// subtract everything from memoryLimit that both contributes to the memory limit (so,
    	// ignore scavenged memory) and doesn't contain heap objects. This isn't quite what
    	// lines up with reality, but it's a good starting point.
    	//
    	// In practice this computation looks like the following:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/mklockrank.go

    const ranks = `
    # Sysmon
    NONE
    < sysmon
    < scavenge, forcegc;
    
    # Defer
    NONE < defer;
    
    # GC
    NONE <
      sweepWaiters,
      assistQueue,
      sweep;
    
    # Test only
    NONE < testR, testW;
    
    NONE < timerSend;
    
    # Scheduler, timers, netpoll
    NONE < allocmW, execW, cpuprof, pollCache, pollDesc, wakeableSleep;
    scavenge, sweep, testR, wakeableSleep, timerSend < hchan;
    assistQueue,
      cpuprof,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/runtime/mpagealloc_32bit.go

    	if test {
    		// Set up the scavenge index via sysAlloc so the test can free it later.
    		scavIndexSize := uintptr(len(scavengeIndexArray)) * unsafe.Sizeof(atomicScavChunkData{})
    		s.chunks = ((*[(1 << heapAddrBits) / pallocChunkBytes]atomicScavChunkData)(sysAlloc(scavIndexSize, sysStat)))[:]
    		mappedReady = scavIndexSize
    	} else {
    		// Set up the scavenge index.
    		s.chunks = scavengeIndexArray[:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/runtime/metrics/description.go

    	},
    	{
    		Name: "/cpu/classes/scavenge/total:cpu-seconds",
    		Description: "Estimated total CPU time spent performing tasks that return " +
    			"unused memory to the underlying platform. " +
    			"This metric is an overestimate, and not directly comparable to " +
    			"system CPU time measurements. Compare only with other /cpu/classes " +
    			"metrics. Sum of all metrics in /cpu/classes/scavenge.",
    		Kind:       KindFloat64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. src/runtime/debug/garbage_test.go

    	// susceptible to collection.
    	big = nil
    
    	// FreeOSMemory runs a GC cycle before releasing memory,
    	// so it's fine to skip a GC here.
    	//
    	// It's possible the background scavenger runs concurrently
    	// with this function and does most of the work for it.
    	// If that happens, it's OK. What we want is a test that fails
    	// often if FreeOSMemory does not work correctly, and a test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/metrics/doc.go

    	/cpu/classes/scavenge/assist:cpu-seconds
    		Estimated total CPU time spent returning unused memory to the
    		underlying platform in response eagerly in response to memory
    		pressure. This metric is an overestimate, and not directly
    		comparable to system CPU time measurements. Compare only with
    		other /cpu/classes metrics.
    
    	/cpu/classes/scavenge/background:cpu-seconds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. src/runtime/metrics_test.go

    		case "/cpu/classes/idle:cpu-seconds":
    			cpu.idle = samples[i].Value.Float64()
    		case "/cpu/classes/scavenge/assist:cpu-seconds":
    			cpu.scavengeAssist = samples[i].Value.Float64()
    		case "/cpu/classes/scavenge/background:cpu-seconds":
    			cpu.scavengeBg = samples[i].Value.Float64()
    		case "/cpu/classes/scavenge/total:cpu-seconds":
    			cpu.scavengeTotal = samples[i].Value.Float64()
    		case "/cpu/classes/total:cpu-seconds":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. 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)
Back to top