Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for systemstack (0.21 sec)

  1. src/runtime/mgcpacer.go

    	c.gcPercent.Store(in)
    
    	return out
    }
    
    //go:linkname setGCPercent runtime/debug.setGCPercent
    func setGCPercent(in int32) (out int32) {
    	// Run on the system stack since we grab the heap lock.
    	systemstack(func() {
    		lock(&mheap_.lock)
    		out = gcController.setGCPercent(in)
    		gcControllerCommit()
    		unlock(&mheap_.lock)
    	})
    
    	// If we just disabled GC, wait for any concurrent GC mark to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge.go

    func (p *pageAlloc) scavenge(nbytes uintptr, shouldStop func() bool, force bool) uintptr {
    	released := uintptr(0)
    	for released < nbytes {
    		ci, pageIdx := p.scav.index.find(force)
    		if ci == 0 {
    			break
    		}
    		systemstack(func() {
    			released += p.scavengeOne(ci, pageIdx, nbytes-released)
    		})
    		if shouldStop != nil && shouldStop() {
    			break
    		}
    	}
    	return released
    }
    
    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/signal_unix.go

    // and printable name of each signal.
    type sigTabT struct {
    	flags int32
    	name  string
    }
    
    //go:linkname os_sigpipe os.sigpipe
    func os_sigpipe() {
    	systemstack(sigpipe)
    }
    
    func signame(sig uint32) string {
    	if sig >= uint32(len(sigtable)) {
    		return ""
    	}
    	return sigtable[sig].name
    }
    
    const (
    	_SIG_DFL uintptr = 0
    	_SIG_IGN uintptr = 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/runtime/metrics_test.go

    			acceptStacks = append([][]string(nil), acceptStacks...)
    			for i, stk := range acceptStacks {
    				if goexperiment.StaticLockRanking {
    					if !slices.ContainsFunc(stk, func(s string) bool {
    						return s == "runtime.systemstack" || s == "runtime.mcall" || s == "runtime.mstart"
    					}) {
    						// stk is a call stack that is still on the user stack when
    						// it calls runtime.unlock. Add the extra function that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. src/runtime/malloc.go

    //
    // Consider marking persistentalloc'd types not in heap by embedding
    // runtime/internal/sys.NotInHeap.
    func persistentalloc(size, align uintptr, sysStat *sysMemStat) unsafe.Pointer {
    	var p *notInHeap
    	systemstack(func() {
    		p = persistentalloc1(size, align, sysStat)
    	})
    	return unsafe.Pointer(p)
    }
    
    // Must run on system stack because stack growth can (re)invoke it.
    // See issue 9174.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. src/runtime/mbitmap.go

    			heapBitsOff := spaceNeeded
    			spaceNeeded += alignUp(typ.PtrBytes/goarch.PtrSize/8, goarch.PtrSize)
    			npages := alignUp(spaceNeeded, pageSize) / pageSize
    			var progSpan *mspan
    			systemstack(func() {
    				progSpan = mheap_.allocManual(npages, spanAllocPtrScalarBits)
    				memclrNoHeapPointers(unsafe.Pointer(progSpan.base()), progSpan.npages*pageSize)
    			})
    			// Write a dummy _type in the new space.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  7. go.mod

    // Run hack/pin-dependency.sh to change pinned dependency versions.
    // Run hack/update-vendor.sh to update go.mod files and the vendor directory.
    
    module k8s.io/kubernetes
    
    go 1.22.0
    
    require (
    	bitbucket.org/bertimus9/systemstat v0.5.0
    	github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab
    	github.com/Microsoft/go-winio v0.6.0
    	github.com/Microsoft/hcsshim v0.8.25
    	github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. go.sum

    bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8=
    bitbucket.org/bertimus9/systemstat v0.5.0 h1:n0aLnh2Jo4nBUBym9cE5PJDG8GT6g+4VuS2Ya2jYYpA=
    bitbucket.org/bertimus9/systemstat v0.5.0/go.mod h1:EkUWPp8lKFPMXP8vnbpT5JDI0W/sTiLZAvN8ONWErHY=
    cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
    cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 93.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.25.md

    - go.opentelemetry.io/contrib/propagators: v0.20.0
    - google.golang.org/grpc/cmd/protoc-gen-go-grpc: v1.1.0
    
    ### Changed
    - bitbucket.org/bertimus9/systemstat: 0eeff89 → v0.5.0
    - cloud.google.com/go: v0.81.0 → v0.97.0
    - github.com/Azure/go-autorest/autorest/adal: [v0.9.13 → v0.9.20](https://github.com/Azure/go-autorest/autorest/adal/compare/v0.9.13...v0.9.20)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
Back to top