Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for procresize (0.35 sec)

  1. src/runtime/mklockrank.go

    # in the situation where there's no P.
    < traceBuf;
    # Starting/stopping tracing traces strings.
    traceBuf < traceStrings;
    
    # Malloc
    allg,
      allocmR,
      allp, # procresize
      execR, # May grow stack
      execW, # May allocate after BeforeFork
      hchan,
      notifyList,
      reflectOffs,
      timer,
      traceStrings,
      userArenaState
    # Above MALLOC are things that can allocate memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/runtime/mcache.go

    	var c *mcache
    	if pp == nil {
    		// We will be called without a P while bootstrapping,
    		// in which case we use mcache0, which is set in mallocinit.
    		// mcache0 is cleared when bootstrapping is complete,
    		// by procresize.
    		c = mcache0
    	} else {
    		c = pp.mcache
    	}
    	return c
    }
    
    // refill acquires a new span of span class spc for c. This span will
    // have at least one free object. The current span in c must be full.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/runtime/stack.go

    		for n2 > fixedStack {
    			order++
    			n2 >>= 1
    		}
    		var x gclinkptr
    		if stackNoCache != 0 || thisg.m.p == 0 || thisg.m.preemptoff != "" {
    			// thisg.m.p == 0 can happen in the guts of exitsyscall
    			// or procresize. Just get a stack from the global pool.
    			// Also don't touch stackcache during gc
    			// as it's flushed concurrently.
    			lock(&stackpool[order].item.mu)
    			x = stackpoolalloc(order)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    //
    // Returns list of Ps with local work, they need to be scheduled by the caller.
    func procresize(nprocs int32) *p {
    	assertLockHeld(&sched.lock)
    	assertWorldStopped()
    
    	old := gomaxprocs
    	if old < 0 || nprocs <= 0 {
    		throw("procresize: invalid arg")
    	}
    	trace := traceAcquire()
    	if trace.ok() {
    		trace.Gomaxprocs(nprocs)
    		traceRelease(trace)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. src/runtime/time.go

    func timeSleepUntil() int64 {
    	next := int64(maxWhen)
    
    	// Prevent allp slice changes. This is like retake.
    	lock(&allpLock)
    	for _, pp := range allp {
    		if pp == nil {
    			// This can happen if procresize has grown
    			// allp but not yet created new Ps.
    			continue
    		}
    
    		if w := pp.timers.wakeTime(); w != 0 {
    			next = min(next, w)
    		}
    	}
    	unlock(&allpLock)
    
    	return next
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    	// updates to the idle P list under the sched.lock, otherwise a racing
    	// pidleget may clear the mask before pidleput sets the mask,
    	// corrupting the bitmap.
    	//
    	// N.B., procresize takes ownership of all Ps in stopTheWorldWithSema.
    	idlepMask pMask
    
    	// Bitmask of Ps that may have a timer, one bit per P. Reads and writes
    	// must be atomic. Length may change at safe points.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  7. docs/pl/docs/features.md

    * Wsparcie dla **WebSocket**.
    * <abbr title='Zadania wykonywane w tle, bez zatrzymywania żądań, w tym samym procesie. Po angielsku: In-process background tasks'>Zadania w tle</abbr>.
    * Eventy startup i shutdown.
    * Klient testowy zbudowany na bazie biblioteki `requests`.
    * **CORS**, GZip, pliki statyczne, streamy.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top