Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for sweep (0.05 sec)

  1. src/runtime/mgc.go

    		mProf_Flush()
    		return true
    	}
    
    	// Background sweep.
    	lock(&sweep.lock)
    	if sweep.parked {
    		sweep.parked = false
    		ready(sweep.g, 0, true)
    	}
    	unlock(&sweep.lock)
    	return false
    }
    
    // gcResetMarkState resets global state prior to marking (concurrent
    // or STW) and resets the stack scan state of all Gs.
    //
    // This is safe to do without the world stopped because any Gs created
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    	// access (since that may free the backing store).
    	allspans []*mspan // all spans out there
    
    	// Proportional sweep
    	//
    	// These parameters represent a linear function from gcController.heapLive
    	// to page sweep count. The proportional sweep system works to
    	// stay in the black by keeping the current page sweep count
    	// above this line at the current gcController.heapLive.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. src/runtime/mgcpacer.go

    		if sweepDistTrigger > goal {
    			// Set the goal to maintain a minimum sweep distance since
    			// the last call to commit. Note that we never want to do this
    			// if we're in the memory limit regime, because it could push
    			// the goal up.
    			goal = sweepDistTrigger
    		}
    		// Since we ignore the sweep distance trigger in the memory
    		// limit regime, we need to ensure we don't propagate it 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)
  4. src/runtime/mprof.go

    	// naively count them, we would get a skew toward mallocs.
    	//
    	// Hence, we delay information to get consistent snapshots as
    	// of mark termination. Allocations count toward the next mark
    	// termination's snapshot, while sweep frees count toward the
    	// previous mark termination's snapshot:
    	//
    	//              MT          MT          MT          MT
    	//             .·|         .·|         .·|         .·|
    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/internal/trace/order.go

    	return curCtx, true, nil
    }
    
    func (o *ordering) advanceGCSweepBegin(ev *baseEvent, evt *evTable, m ThreadID, gen uint64, curCtx schedCtx) (schedCtx, bool, error) {
    	// Handle sweep, which is bound to a P and doesn't require a G.
    	if err := validateCtx(curCtx, event.SchedReqs{Thread: event.MustHave, Proc: event.MustHave, Goroutine: event.MayHave}); err != nil {
    		return curCtx, false, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		})
    	}
    
    	// Clean up transitioned objects from remote tier
    	for _, os := range oss {
    		if os == nil { // skip objects that weren't deleted due to invalid versionID etc.
    			continue
    		}
    		os.Sweep()
    	}
    }
    
    // PutBucketHandler - PUT Bucket
    // ----------
    // This implementation of the PUT operation creates a new bucket for authenticated request
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. src/runtime/mgcmark.go

    			}
    			// Check that this span was swept (it may be cached or uncached).
    			if !useCheckmark && !(s.sweepgen == sg || s.sweepgen == sg+3) {
    				// sweepgen was updated (+2) during non-checkmark GC pass
    				print("sweep ", s.sweepgen, " ", sg, "\n")
    				throw("gc: unswept span")
    			}
    
    			// Lock the specials to prevent a special from being
    			// removed from the list while we're traversing it.
    			lock(&s.speciallock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    				// If named == typed we must have parameters that have no types,
    				// and they must be at the end of the parameter list, otherwise
    				// the types would have been filled in by the right-to-left sweep
    				// above and we wouldn't have an error. Since we are in a type
    				// parameter list, the missing types are constraints.
    				if named == typed {
    					errPos = end // position error at closing ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. src/go/parser/parser.go

    				// If named == typed we must have parameters that have no types,
    				// and they must be at the end of the parameter list, otherwise
    				// the types would have been filled in by the right-to-left sweep
    				// above and we wouldn't have an error. Since we are in a type
    				// parameter list, the missing types are constraints.
    				if named == typed {
    					errPos = p.pos // position error at closing ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    				tier = oi.TransitionedObject.Tier
    			}
    			if sizeS.tiers != nil {
    				if st, ok := sizeS.tiers[tier]; ok {
    					sizeS.tiers[tier] = st.add(oi.tierStats())
    				}
    			}
    		}
    
    		// apply tier sweep action on free versions
    		for _, freeVersion := range fivs.FreeVersions {
    			oi := freeVersion.ToObjectInfo(item.bucket, item.objectPath(), versioned)
    			done = globalScannerMetrics.time(scannerMetricTierObjSweep)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top