Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for removespecial (0.44 sec)

  1. src/runtime/mheap.go

    // Returns the record if the record existed, nil otherwise.
    // The caller must FixAlloc_Free the result.
    func removespecial(p unsafe.Pointer, kind uint8) *special {
    	span := spanOfHeap(uintptr(p))
    	if span == nil {
    		throw("removespecial on invalid pointer")
    	}
    
    	// Ensure that the span is swept.
    	// Sweeping accesses the specials list w/o locks, so we have
    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