Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for startGCTransition (0.2 sec)

  1. src/runtime/mgclimit_test.go

    		}
    		l.Update(advance(0))
    		if l.NeedUpdate(advance(0)) {
    			t.Fatal("need update even though just updated")
    		}
    
    		// Test transitioning the bucket to enable the GC.
    
    		l.StartGCTransition(true, advance(109*time.Millisecond))
    		l.FinishGCTransition(advance(2*time.Millisecond + 1*time.Microsecond))
    
    		if expect := uint64((2*time.Millisecond + 1*time.Microsecond) * procs); l.Fill() != expect {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 16:02:20 UTC 2022
    - 9K bytes
    - Viewed (0)
Back to top