Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for publicationBarrier (0.28 sec)

  1. 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)
  2. 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)
Back to top