- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StoreMarked (0.2 sec)
-
src/runtime/mranges.go
func (b *atomicOffAddr) StoreUnmark(markedAddr, newAddr uintptr) { b.a.CompareAndSwap(-int64(markedAddr-arenaBaseOffset), int64(newAddr-arenaBaseOffset)) } // StoreMarked stores addr but first converted to the offset address // space and then negated. func (b *atomicOffAddr) StoreMarked(addr uintptr) { b.a.Store(-int64(addr - arenaBaseOffset)) } // Load returns the address in the box as a virtual address. It also
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.5K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
// decreases, even if the value we loaded is stale, the actual // value will never be larger. searchAddr, _ := s.searchAddrForce.Load() if (offAddr{searchAddr}).lessThan(offAddr{addr}) { s.searchAddrForce.StoreMarked(addr) } } // nextGen moves the scavenger forward one generation. Must be called // once per GC cycle, but may be called more often to force more memory // to be released. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0)