Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for racereleaseg (0.25 sec)

  1. src/runtime/time.go

    //go:linkname newTimer time.newTimer
    func newTimer(when, period int64, f func(arg any, seq uintptr, delay int64), arg any, c *hchan) *timeTimer {
    	t := new(timeTimer)
    	t.timer.init(nil, nil)
    	t.trace("new")
    	if raceenabled {
    		racerelease(unsafe.Pointer(&t.timer))
    	}
    	if c != nil {
    		lockInit(&t.sendLock, lockRankTimerSend)
    		t.isChan = true
    		c.timer = &t.timer
    		if c.dataqsiz == 0 {
    			throw("invalid timer channel: no capacity")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    	// Update it under gcsema to avoid gctrace getting wrong values.
    	work.userForced = trigger.kind == gcTriggerCycle
    
    	trace := traceAcquire()
    	if trace.ok() {
    		trace.GCStart()
    		traceRelease(trace)
    	}
    
    	// Check that all Ps have finished deferred mcache flushes.
    	for _, p := range allp {
    		if fg := p.mcache.flushGen.Load(); fg != mheap_.sweepgen {
    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/runtime/malloc.go

    			inittrace.bytes += uint64(fullSize)
    		}
    
    		if traceAllocFreeEnabled() {
    			trace := traceAcquire()
    			if trace.ok() {
    				trace.HeapObjectAlloc(uintptr(x), typ)
    				traceRelease(trace)
    			}
    		}
    	}
    
    	if assistG != nil {
    		// Account for internal fragmentation in the assist
    		// debt now that we know it.
    		//
    		// N.B. Use the full size because that's how the rest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top