Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for gcAssistAlloc (0.26 sec)

  1. src/runtime/mgcmark.go

    				}
    			}
    			unlock(&s.speciallock)
    		}
    	}
    }
    
    // gcAssistAlloc performs GC work to make gp's assist debt positive.
    // gp must be the calling user goroutine.
    //
    // This must be called with preemption enabled.
    func gcAssistAlloc(gp *g) {
    	// Don't assist in non-preemptible contexts. These are
    	// generally fragile and won't allow the assist to block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/runtime/mgclimit.go

    	limiterEventIdleMarkWork                           // Refers to an idle mark worker (see gcMarkWorkerMode).
    	limiterEventMarkAssist                             // Refers to mark assist (see gcAssistAlloc).
    	limiterEventScavengeAssist                         // Refers to a scavenge assist (see allocSpan).
    	limiterEventIdle                                   // Refers to time a P spent on the idle list.
    
    	limiterEventBits = 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/runtime/malloc.go

    		if assistG.gcAssistBytes < 0 {
    			// This G is in debt. Assist the GC to correct
    			// this before allocating. This must happen
    			// before disabling preemption.
    			gcAssistAlloc(assistG)
    		}
    	}
    	return assistG
    }
    
    // memclrNoHeapPointersChunked repeatedly calls memclrNoHeapPointers
    // on chunks of the buffer to be zeroed, with opportunities for preemption
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/cmd/trace/testdata/go122.test

    String id=71
    	data="main.main.func1"
    String id=72
    	data="runtime.gcMarkDone"
    String id=73
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/mgc.go"
    String id=74
    	data="runtime.gcAssistAlloc"
    String id=75
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/mgcmark.go"
    String id=76
    	data="runtime.deductAssistCredit"
    String id=77
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-gc-stress.test

    	data="runtime.traceAdvance"
    String id=23
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2.go"
    String id=24
    	data="runtime.(*traceAdvancerState).start.func1"
    String id=25
    	data="runtime.gcAssistAlloc"
    String id=26
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/mgcmark.go"
    String id=27
    	data="runtime.deductAssistCredit"
    String id=28
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 139.1K bytes
    - Viewed (0)
Back to top