Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for nextGen (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	HIDIOCGRDESC                     = 0x90044802
    	HIDIOCGRDESCSIZE                 = 0x80044801
    	HUPCL                            = 0x400
    	ICANON                           = 0x2
    	IEXTEN                           = 0x8000
    	IN_CLOEXEC                       = 0x80000
    	IN_NONBLOCK                      = 0x800
    	IOCTL_VM_SOCKETS_GET_LOCAL_CID   = 0x7b9
    	ISIG                             = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	HIDIOCGRDESC                     = 0x90044802
    	HIDIOCGRDESCSIZE                 = 0x80044801
    	HUPCL                            = 0x400
    	ICANON                           = 0x2
    	IEXTEN                           = 0x8000
    	IN_CLOEXEC                       = 0x80000
    	IN_NONBLOCK                      = 0x800
    	IOCTL_VM_SOCKETS_GET_LOCAL_CID   = 0x7b9
    	ISIG                             = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	HIDIOCGRDESC                     = 0x90044802
    	HIDIOCGRDESCSIZE                 = 0x80044801
    	HUPCL                            = 0x400
    	ICANON                           = 0x2
    	IEXTEN                           = 0x8000
    	IN_CLOEXEC                       = 0x80000
    	IN_NONBLOCK                      = 0x800
    	IOCTL_VM_SOCKETS_GET_LOCAL_CID   = 0x7b9
    	ISIG                             = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top