- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for publicationBarrier (0.22 sec)
-
src/runtime/stubs.go
// call on the stack will cause gentraceback to stop walking the stack // prematurely and if there is leftover state it may panic. func goexit(neverCallThisFunction) // publicationBarrier performs a store/store barrier (a "publication" // or "export" barrier). Some form of synchronization is required // between initializing an object and making that object accessible to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/runtime/malloc.go
// the caller can make x observable to the garbage // collector. Otherwise, on weakly ordered machines, // the garbage collector could follow a pointer to x, // but see uninitialized memory or stale heap bits. publicationBarrier() // As x and the heap bits are initialized, update // freeIndexForScan now so x is seen by the GC // (including conservative scan) as an allocated object. // While this pointer can't escape into user code as a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/runtime/arena.go
// the caller can make ptr observable to the garbage // collector. Otherwise, on weakly ordered machines, // the garbage collector could follow a pointer to x, // but see uninitialized memory or stale heap bits. publicationBarrier() mp.mallocing = 0 releasem(mp) return ptr } // userArenaHeapBitsSetSliceType is the equivalent of heapBitsSetType but for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/runtime/asm_amd64.s
CALLFN(·call536870912, 536870912) CALLFN(·call1073741824, 1073741824) TEXT runtime·procyield(SB),NOSPLIT,$0-0 MOVL cycles+0(FP), AX again: PAUSE SUBL $1, AX JNZ again RET TEXT ·publicationBarrier<ABIInternal>(SB),NOSPLIT,$0-0 // Stores are already ordered on x86, so this is just a // compile barrier. RET // Save state of caller into g->sched, // but using fake PC from systemstack_switch.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/runtime/mheap.go
// Update related page sweeper stats. h.pagesInUse.Add(npages) } // Make sure the newly allocated span will be observed // by the GC before pointers into the span are published. publicationBarrier() } // Try to add at least npage pages of memory to the heap, // returning how much the heap grew by and whether it worked. // // h.lock must be held.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value { return s.newValue1(ssa.OpGetCallerSP, s.f.Config.Types.Uintptr, s.mem()) }, all...) addF("runtime", "publicationBarrier", func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value { s.vars[memVar] = s.newValue1(ssa.OpPubBarrier, types.TypeMem, s.mem()) return nil }, sys.ARM64, sys.PPC64, sys.RISCV64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)