Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StorepNoWB (0.38 sec)

  1. src/runtime/malloc.go

    			}
    			if h.arenasHugePages {
    				sysHugePage(unsafe.Pointer(l2), unsafe.Sizeof(*l2))
    			} else {
    				sysNoHugePage(unsafe.Pointer(l2), unsafe.Sizeof(*l2))
    			}
    			atomic.StorepNoWB(unsafe.Pointer(&h.arenas[ri.l1()]), unsafe.Pointer(l2))
    		}
    
    		if l2[ri.l2()] != nil {
    			throw("arena already initialized")
    		}
    		var r *heapArena
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    	p := fresh.tryAlloc(bytesNeeded)
    	if p == nil {
    		throw("markBits overflow")
    	}
    
    	// Add the fresh arena to the "next" list.
    	fresh.next = gcBitsArenas.next
    	atomic.StorepNoWB(unsafe.Pointer(&gcBitsArenas.next), unsafe.Pointer(fresh))
    
    	unlock(&gcBitsArenas.lock)
    	return p
    }
    
    // newAllocBits returns a pointer to 8 byte aligned bytes
    // to be used for this span's alloc bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top