Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newAllocBits (0.1 sec)

  1. src/runtime/mheap.go

    	unlock(&gcBitsArenas.lock)
    	return p
    }
    
    // newAllocBits returns a pointer to 8 byte aligned bytes
    // to be used for this span's alloc bits.
    // newAllocBits is used to provide newly initialized spans
    // allocation bits. For spans not being initialized the
    // mark bits are repurposed as allocation bits when
    // the span is swept.
    func newAllocBits(nelems uintptr) *gcBits {
    	return newMarkBits(nelems)
    }
    
    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