Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for finalizer (0.29 sec)

  1. src/runtime/mgcmark.go

    //
    //go:nowritebarrier
    func markrootSpans(gcw *gcWork, shard int) {
    	// Objects with finalizers have two GC-related invariants:
    	//
    	// 1) Everything reachable from the object must be marked.
    	// This ensures that when we pass the object to its finalizer,
    	// everything the finalizer can reach will be retained.
    	//
    	// 2) Finalizer specials (which are not in the garbage
    	// collected heap) are roots. In practice, this means the fn
    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. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

    significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    			// so it's retained for the finalizer.
    			if !span.spanclass.noscan() {
    				scanobject(base, gcw)
    			}
    			// Mark the finalizer itself, since the
    			// special isn't part of the GC'd heap.
    			scanblock(uintptr(unsafe.Pointer(&s.fn)), goarch.PtrSize, &oneptrmask[0], gcw, nil)
    			releasem(mp)
    		}
    		return true
    	}
    
    	// There was an old finalizer
    	lock(&mheap_.speciallock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json

    significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 66.1K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    // goroutineProfileState will be "InProgress" and it will not be able to run
    // until the capture completes and the state moves to "Satisfied".
    //
    // Some goroutines (the finalizer goroutine, which at various times can be
    // either a "system" or a "user" goroutine, and the goroutine that is
    // coordinating the profile, any goroutines created during the profile) move
    // directly to the "Satisfied" state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/pv_controller.go

    		if err != nil {
    			return fmt.Errorf("persistent volume controller can't update finalizer: %v", err)
    		}
    		_, err = ctrl.storeVolumeUpdate(logger, volumeClone)
    		if err != nil {
    			return fmt.Errorf("persistent Volume Controller can't anneal migration finalizer: %v", err)
    		}
    		logger.V(2).Info("PV in-tree protection finalizer removed from volume", "volumeName", volume.Name)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  7. src/runtime/mgc.go

    // so they are empty. When a goroutine grabs a new span into mcache, it sweeps it.
    // When a goroutine explicitly frees an object or sets a finalizer, it ensures that
    // the span is swept (either by sweeping it, or by waiting for the concurrent sweep to finish).
    // The finalizer goroutine is kicked off only when all spans are swept.
    // When the next GC starts, it sweeps all not-yet-swept spans (if any).
    
    // GC rate.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    	listers "k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1"
    	"k8s.io/apiextensions-apiserver/pkg/controller/establish"
    	"k8s.io/apiextensions-apiserver/pkg/controller/finalizer"
    	"k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder"
    	"k8s.io/apiextensions-apiserver/pkg/crdserverscheme"
    	"k8s.io/apiextensions-apiserver/pkg/registry/customresource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    			expectedErr: true,
    		},
    		"skip-adding-finalizer": {
    			pod:    podWithClaimName,
    			claims: []*resourcev1alpha2.ResourceClaim{pendingImmediateClaim},
    			oldObj: pendingImmediateClaim,
    			newObj: func() *resourcev1alpha2.ResourceClaim {
    				claim := pendingImmediateClaim.DeepCopy()
    				claim.Finalizers = append(claim.Finalizers, "foo")
    				return claim
    			}(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    // runtime.handleAsyncEvent (wasm only) and sometimes runtime.runfinq.
    //
    // If fixed is true, any goroutine that can vary between user and
    // system (that is, the finalizer goroutine) is considered a user
    // goroutine.
    func isSystemGoroutine(gp *g, fixed bool) bool {
    	// Keep this in sync with internal/trace.IsSystemGoroutine.
    	f := findfunc(gp.startpc)
    	if !f.valid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top