Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for sweet (0.11 sec)

  1. src/internal/concurrent/hashtriemap.go

    		e := n.entry()
    		for e != nil {
    			if !yield(e.key, e.value) {
    				return false
    			}
    			e = e.overflow.Load()
    		}
    	}
    	return true
    }
    
    const (
    	// 16 children. This seems to be the sweet spot for
    	// load performance: any smaller and we lose out on
    	// 50% or more in CPU performance. Any larger and the
    	// returns are minuscule (~1% improvement for 32 children).
    	nChildrenLog2 = 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/mgc.go

    	// to sweep N.
    	//
    	// 2. In sweep N, help with sweep N.
    	//
    	// At this point we can begin a full cycle N+1.
    	//
    	// 3. Trigger cycle N+1 by starting sweep termination N+1.
    	//
    	// 4. Wait for mark termination N+1 to complete.
    	//
    	// 5. Help with sweep N+1 until it's done.
    	//
    	// This all has to be written to deal with the fact that the
    	// GC may move ahead on its own. For example, when we block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/internal/trace/internal/oldtrace/parser.go

    	EvSTWDone           event.Type = 10 // GC mark termination done [timestamp]
    	EvGCSweepStart      event.Type = 11 // GC sweep start [timestamp, stack id]
    	EvGCSweepDone       event.Type = 12 // GC sweep done [timestamp, swept, reclaimed]
    	EvGoCreate          event.Type = 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 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  9. src/internal/trace/event.go

    		r.Name = "GC concurrent mark phase"
    		r.Scope = ResourceID{Kind: ResourceNone}
    	case go122.EvGCSweepBegin, go122.EvGCSweepActive, go122.EvGCSweepEnd:
    		r.Name = "GC incremental sweep"
    		r.Scope = ResourceID{Kind: ResourceProc}
    		if e.base.typ == go122.EvGCSweepActive {
    			r.Scope.id = int64(e.base.args[0])
    		} else {
    			r.Scope.id = int64(e.Proc())
    		}
    		r.Scope.id = int64(e.Proc())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  10. src/internal/trace/gc.go

    					break
    				}
    				// This G has been in a mark assist *and running on its P* since the start
    				// of the trace.
    				fallthrough
    			case handleSweep(r):
    				// This P has been in sweep (or mark assist, from above) in the start of the trace.
    				//
    				// We don't need to do anything if UtilPerProc is set. If we get an event like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top