Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ResetSearchAddrs (0.56 sec)

  1. src/runtime/mgcscavenge_test.go

    		si.NextGen()
    		si.FreeRange(PageBase(BaseChunkIdx, 0), PageBase(BaseChunkIdx+64, 0))
    		for ci := BaseChunkIdx; ci < BaseChunkIdx+64; ci++ {
    			si.SetEmpty(ci)
    		}
    		si.ResetSearchAddrs()
    
    		// Create and return test functions.
    		mark = func(base, limit uintptr) {
    			t.Helper()
    
    			si.AllocRange(base, limit)
    			si.FreeRange(base, limit)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    		s.i.free(sc, si, pallocChunkPages-si)
    		for c := sc + 1; c < ec; c++ {
    			s.i.free(c, 0, pallocChunkPages)
    		}
    		s.i.free(ec, 0, ei+1)
    	}
    }
    
    func (s *ScavengeIndex) ResetSearchAddrs() {
    	for _, a := range []*atomicOffAddr{&s.i.searchAddrBg, &s.i.searchAddrForce} {
    		addr, marked := a.Load()
    		if marked {
    			a.StoreUnmark(addr, addr)
    		}
    		a.Clear()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top