Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 418 for sweep (0.06 sec)

  1. src/runtime/mgcsweep.go

    	// definitely work for it to do at this point.
    	scavenger.wake()
    
    	nextMarkBitArenaEpoch()
    }
    
    func bgsweep(c chan int) {
    	sweep.g = getg()
    
    	lockInit(&sweep.lock, lockRankSweep)
    	lock(&sweep.lock)
    	sweep.parked = true
    	c <- 1
    	goparkunlock(&sweep.lock, waitReasonGCSweepWait, traceBlockGCSweep, 1)
    
    	for {
    		// bgsweep attempts to be a "low priority" goroutine by intentionally
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    		mProf_Flush()
    		return true
    	}
    
    	// Background sweep.
    	lock(&sweep.lock)
    	if sweep.parked {
    		sweep.parked = false
    		ready(sweep.g, 0, true)
    	}
    	unlock(&sweep.lock)
    	return false
    }
    
    // gcResetMarkState resets global state prior to marking (concurrent
    // or STW) and resets the stack scan state of all Gs.
    //
    // This is safe to do without the world stopped because any Gs created
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. src/internal/trace/parser.go

    	EvSTWStart          = 9  // GC mark termination start [timestamp, kind]
    	EvSTWDone           = 10 // GC mark termination done [timestamp]
    	EvGCSweepStart      = 11 // GC sweep start [timestamp, stack id]
    	EvGCSweepDone       = 12 // GC sweep done [timestamp, swept, reclaimed]
    	EvGoCreate          = 13 // goroutine creation [timestamp, new goroutine id, new stack id, stack id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/runtime/traceruntime.go

    	mSyscallID int64
    
    	// maySweep indicates the sweep events should be traced.
    	// This is used to defer the sweep start event until a span
    	// has actually been swept.
    	maySweep bool
    
    	// inSweep indicates that at least one sweep event has been traced.
    	inSweep bool
    
    	// swept and reclaimed track the number of bytes swept and reclaimed
    	// by sweeping in the current sweep loop (while maySweep was true).
    	swept, reclaimed uintptr
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. cmd/tier-sweeper.go

    			ObjName:   os.RemoteObject,
    			VersionID: os.TransitionVersionID,
    			TierName:  os.TransitionTier,
    		}, true
    	}
    	return jentry{}, false
    }
    
    // Sweep removes the transitioned object if it's no longer referred to.
    func (os *objSweeper) Sweep() {
    	if je, ok := os.shouldRemoveRemoteObject(); ok {
    		globalExpiryState.enqueueTierJournalEntry(je)
    	}
    }
    
    type jentry struct {
    	ObjName   string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/runtime/traceevent.go

    	traceEvGCBegin            // GC start [timestamp, seq, stack ID]
    	traceEvGCEnd              // GC done [timestamp, seq]
    	traceEvGCSweepActive      // GC sweep active [timestamp, P ID]
    	traceEvGCSweepBegin       // GC sweep start [timestamp, stack ID]
    	traceEvGCSweepEnd         // GC sweep done [timestamp, swept bytes, reclaimed bytes]
    	traceEvGCMarkAssistActive // GC mark assist active [timestamp, goroutine ID]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. src/runtime/mklockrank.go

    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,
      forcegc,
      hchan,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/runtime/mheap.go

    	// access (since that may free the backing store).
    	allspans []*mspan // all spans out there
    
    	// Proportional sweep
    	//
    	// These parameters represent a linear function from gcController.heapLive
    	// to page sweep count. The proportional sweep system works to
    	// stay in the black by keeping the current page sweep count
    	// above this line at the current gcController.heapLive.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  9. src/internal/trace/event/go122/event.go

    	EvGCBegin            // GC start [timestamp, seq, stack ID]
    	EvGCEnd              // GC done [timestamp, seq]
    	EvGCSweepActive      // GC sweep active [timestamp, P ID]
    	EvGCSweepBegin       // GC sweep start [timestamp, stack ID]
    	EvGCSweepEnd         // GC sweep done [timestamp, swept bytes, reclaimed bytes]
    	EvGCMarkAssistActive // GC mark assist active [timestamp, goroutine ID]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. src/runtime/trace.go

    	// hits a traceAcquire, it sees that the trace is enabled.
    	//
    	// Note also that stopping the world is necessary to make sure sweep-related events are
    	// coherent. Since the world is stopped and sweeps are non-preemptible, we can never start
    	// the world and see an unpaired sweep 'end' event. Other parts of the tracer rely on this.
    	stw := stopTheWorld(stwStartTrace)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top