Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,139 for sweep (0.24 sec)

  1. src/runtime/mgcsweep.go

    	// definitely work for it to do at this point.
    	scavenger.wake()
    
    	nextMarkBitArenaEpoch()
    }
    
    func bgsweep(c chan int) {
    	sweep.g = getg()
    
    	lockInit(&sweep.lock, lockRankSweep)
    	lock(&sweep.lock)
    	sweep.parked = true
    	c <- 1
    	goparkunlock(&sweep.lock, waitReasonGCSweepWait, traceBlockGCSweep, 1)
    
    	for {
    		// bgsweep attempts to be a "low priority" goroutine by intentionally
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. src/runtime/mcentral.go

    		goto havespan
    	}
    
    	sl = sweep.active.begin()
    	if sl.valid {
    		// Now try partial unswept spans.
    		for ; spanBudget >= 0; spanBudget-- {
    			s = c.partialUnswept(sg).pop()
    			if s == nil {
    				break
    			}
    			if s, ok := sl.tryAcquire(s); ok {
    				// We got ownership of the span, so let's sweep it and use it.
    				s.sweep(true)
    				sweep.active.end(sl)
    				goto havespan
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/mcache.go

    	if size+_PageSize < size {
    		throw("out of memory")
    	}
    	npages := size >> _PageShift
    	if size&_PageMask != 0 {
    		npages++
    	}
    
    	// Deduct credit for this span allocation and sweep if
    	// necessary. mHeap_Alloc will also sweep npages, so this only
    	// pays the debt down to npage pages.
    	deductSweepCredit(npages*_PageSize, npages)
    
    	spc := makeSpanClass(0, noscan)
    	s := mheap_.alloc(npages, spc)
    	if s == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/internal/trace/parser.go

    	EvSTWStart          = 9  // GC mark termination start [timestamp, kind]
    	EvSTWDone           = 10 // GC mark termination done [timestamp]
    	EvGCSweepStart      = 11 // GC sweep start [timestamp, stack id]
    	EvGCSweepDone       = 12 // GC sweep done [timestamp, swept, reclaimed]
    	EvGoCreate          = 13 // goroutine creation [timestamp, new goroutine id, new stack id, stack id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/mmu.go

              <span class="help">?<span>Mark assists are performed by allocation to prevent the mutator from outpacing GC.</span></span><br>
              <input type="checkbox" id="sweep"><label for="sweep">Sweep</label>
              <span class="help">?<span>Sweep reclaims unused memory between GCs. (Enabling this may be very slow.).</span></span><br>
            </p>
            <p>
              <b>Display</b><br>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. src/runtime/traceruntime.go

    	mSyscallID int64
    
    	// maySweep indicates the sweep events should be traced.
    	// This is used to defer the sweep start event until a span
    	// has actually been swept.
    	maySweep bool
    
    	// inSweep indicates that at least one sweep event has been traced.
    	inSweep bool
    
    	// swept and reclaimed track the number of bytes swept and reclaimed
    	// by sweeping in the current sweep loop (while maySweep was true).
    	swept, reclaimed uintptr
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/runtime/debug_test.go

    	// tries to interrupt an atomic loop (see issue #10958). Execute
    	// an extra GC to ensure even the sweep phase is done (out of
    	// caution to prevent #49370 from happening).
    	// TODO(mknyszek): This extra GC cycle is likely unnecessary
    	// because preemption (which may happen during the sweep phase)
    	// isn't much of an issue anymore thanks to asynchronous preemption.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. cmd/tier-sweeper.go

    			ObjName:   os.RemoteObject,
    			VersionID: os.TransitionVersionID,
    			TierName:  os.TransitionTier,
    		}, true
    	}
    	return jentry{}, false
    }
    
    // Sweep removes the transitioned object if it's no longer referred to.
    func (os *objSweeper) Sweep() {
    	if je, ok := os.shouldRemoveRemoteObject(); ok {
    		globalExpiryState.enqueueTierJournalEntry(je)
    	}
    }
    
    type jentry struct {
    	ObjName   string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
        // This test task runs only multi-version tests and is intended to be used in the late pipeline to sweep up versions not previously tested
        includeSpockAnnotation("org.gradle.integtests.fixtures.compatibility.MultiVersionTestCategory")
        (options as JUnitPlatformOptions).includeEngines("spock")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 21 22:31:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top