Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for allgs (0.04 sec)

  1. src/runtime/runtime_test.go

    	// Count goroutines with a large allgs list
    	b.Run("large-nil", run(func() bool {
    		GoroutineProfile(nil)
    		return true
    	}))
    
    	n = NumGoroutine()
    	p = make([]StackRecord, 2*n+2*GOMAXPROCS(0))
    	b.Run("large", run(func() bool {
    		_, ok := GoroutineProfile(p)
    		return ok
    	}))
    
    	close(ch)
    	done.Wait()
    
    	// Count goroutines with a large (but unused) allgs list
    	b.Run("sparse-nil", run(func() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	// cannot happen concurrently with this. allgs grows
    	// monotonically and existing entries never change, so we can
    	// simply return a copy of the slice header. For added safety,
    	// we trim everything past len because that can still change.
    	return allgs[:len(allgs):len(allgs)]
    }
    
    // atomicAllG returns &allgs[0] and len(allgs) for use with atomicAllGIndex.
    func atomicAllG() (**g, uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. src/runtime/mgc.go

    	}
    
    	if debug.gccheckmark > 0 {
    		// This is expensive when there's a large number of
    		// Gs, so only do it if checkmark is also enabled.
    		gcMarkRootCheck()
    	}
    
    	// Drop allg snapshot. allgs may have grown, in which case
    	// this is the only reference to the old backing store and
    	// there's no need to keep it around.
    	work.stackRoots = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. src/runtime/mprof.go

    	}
    	ourg.goroutineProfiled.Store(goroutineProfileSatisfied)
    	goroutineProfile.offset.Store(1)
    
    	// Prepare for all other goroutines to enter the profile. Aside from ourg,
    	// every goroutine struct in the allgs list has its goroutineProfiled field
    	// cleared. Any goroutine created from this point on (while
    	// goroutineProfile.active is set) will start with its goroutineProfiled
    	// field set to goroutineProfileSatisfied.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof_test.go

    					// the work involved in collecting a goroutine profile,
    					// which is O(N) with the high-water mark of the number of
    					// goroutines in this process (in the allgs slice).
    					runtime.Gosched()
    				}
    				if i == 0 {
    					ready.Done()
    				}
    			}
    		}()
    
    		// Short-lived goroutines exercise different code paths (goroutines with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    // so that it does not require write barriers at all.
    //
    // Goroutine structs are published in the allg list and never freed.
    // That will keep the goroutine structs from being collected.
    // There is never a time that Gobuf.g's contain the only references
    // to a goroutine: the publishing of the goroutine in allg comes first.
    // Goroutine pointers are also kept in non-GC-visible places like TLS,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  7. .github/workflows/build-docs.yml

              path: ./site/**
    
      # https://github.com/marketplace/actions/alls-green#why
      docs-all-green:  # This job does nothing and is only used for the branch protection
        if: always()
        needs:
          - build-docs
        runs-on: ubuntu-latest
        steps:
          - name: Decide whether the needed jobs succeeded or failed
            uses: re-actors/alls-green@release/v1
            with:
              jobs: ${{ toJSON(needs) }}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. .github/workflows/test.yml

          - name: Store coverage HTML
            uses: actions/upload-artifact@v4
            with:
              name: coverage-html
              path: htmlcov
    
      # https://github.com/marketplace/actions/alls-green#why
      check:  # This job does nothing and is only used for the branch protection
        if: always()
        needs:
          - coverage-combine
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. pkg/kubeapiserver/options/authentication_test.go

    			},
    			expectErr: "authentication-config file and oidc-* flags are mutually exclusive",
    		},
    		{
    			name: "authentication-config file, --oidc-signature-algs is set",
    			args: []string{
    				"--authentication-config=configfile",
    				"--oidc-signing-algs=RS512",
    			},
    			expectErr: "authentication-config file and oidc-* flags are mutually exclusive",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  10. docs/de/docs/how-to/custom-docs-ui-assets.md

        Swagger UI erledigt das hinter den Kulissen für Sie, benötigt aber diesen „Umleitungs“-Helfer.
    
    ### Eine *Pfadoperation* erstellen, um es zu testen
    
    Um nun testen zu können, ob alles funktioniert, erstellen Sie eine *Pfadoperation*:
    
    ```Python hl_lines="36-38"
    {!../../../docs_src/custom_docs_ui/tutorial001.py!}
    ```
    
    ### Es ausprobieren
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top