- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for nextGen (0.11 sec)
-
src/runtime/tracestatus.go
} r.readyNextGen(gen) return true } // readyNextGen readies r for the generation following gen. func (r *traceSchedResourceState) readyNextGen(gen uintptr) { nextGen := traceNextGen(gen) r.seq[nextGen%2] = 0 r.statusTraced[nextGen%3].Store(0) } // statusWasTraced returns true if the sched resource's status was already acquired for tracing. func (r *traceSchedResourceState) statusWasTraced(gen uintptr) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
src/runtime/mgcscavenge_test.go
if wantOffset != gotOffset { t.Errorf("find: wanted page offset %d, got %d", wantOffset, gotOffset) } if t.Failed() { t.FailNow() } si.SetEmpty(got) } nextGen = func() { t.Helper() si.NextGen() } return } // Each of these test cases calls mark and then find once. type testCase struct { name string mark func(markFunc) find func(findFunc) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
s.searchAddrForce.StoreMarked(addr) } } // nextGen moves the scavenger forward one generation. Must be called // once per GC cycle, but may be called more often to force more memory // to be released. // // nextGen may only run concurrently with find. func (s *scavengeIndex) nextGen() { s.gen++ searchAddr, _ := s.searchAddrBg.Load()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0) -
src/runtime/export_test.go
addr, marked := a.Load() if marked { a.StoreUnmark(addr, addr) } a.Clear() } s.i.freeHWM = minOffAddr } func (s *ScavengeIndex) NextGen() { s.i.nextGen() } func (s *ScavengeIndex) SetEmpty(ci ChunkIdx) { s.i.setEmpty(chunkIdx(ci)) } func CheckPackScavChunkData(gen uint32, inUse, lastInUse uint16, flags uint8) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/mgc.go
unlock(&work.sweepWaiters.lock) // Increment the scavenge generation now. // // This moment represents peak heap in use because we're // about to start sweeping. mheap_.pages.scav.index.nextGen() // Release the CPU limiter. gcCPULimiter.finishGCTransition(now) // Finish the current heap profiling cycle and start a new // heap profiling cycle. We do this before starting the world
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/runtime/traceruntime.go
// is during a syscall. tl.eventWriter(traceGoSyscall, traceProcIdle).commit(traceEvProcStart, traceArg(pp.id), pp.trace.nextSeq(tl.gen)) } // ProcStop traces a ProcStop event. func (tl traceLocker) ProcStop(pp *p) { // The only time a goroutine is allowed to have its Proc moved around // from under it is during a syscall.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule.go
// "priority" for a value score := f.Cache.allocInt8Slice(f.NumValues()) defer f.Cache.freeInt8Slice(score) // maps mem values to the next live memory value nextMem := f.Cache.allocValueSlice(f.NumValues()) defer f.Cache.freeValueSlice(nextMem) // inBlockUses records whether a value is used in the block // in which it lives. (block control values don't count as uses.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 15:53:17 UTC 2024 - 16.4K bytes - Viewed (0) -
src/testing/benchmark.go
extLen: len(benchmarkName("", maxprocs)), } var bs []InternalBenchmark for _, Benchmark := range benchmarks { if _, matched, _ := ctx.match.fullName(nil, Benchmark.Name); matched { bs = append(bs, Benchmark) benchName := benchmarkName(Benchmark.Name, maxprocs) if l := len(benchName) + ctx.extLen + 1; l > ctx.maxLen { ctx.maxLen = l } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
firstReg = int(reg) nextReg = firstReg arrangement = curArrangement } else if curArrangement != arrangement { p.errorf("inconsistent arrangement in ARM64 register list") } else if nextReg != int(reg) { p.errorf("incontiguous register in ARM64 register list: %s", name) } regCnt++ nextReg = (nextReg + 1) % 32 case sys.ARM:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
src/runtime/time.go
// We read minWhen after reading minNextWhen so that // if we see a cleared minNextWhen, we are guaranteed to see // the updated minWhen. nextWhen := ts.minWhenModified.Load() when := ts.minWhenHeap.Load() if when == 0 || (nextWhen != 0 && nextWhen < when) { when = nextWhen } return when } // check runs any timers in ts that are ready. // If now is not 0 it is the current time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0)