Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for specialFindSplicePoint (0.21 sec)

  1. src/runtime/pinner.go

    }
    
    // incPinCounter is only called for multiple pins of the same object and records
    // the _additional_ pins.
    func (span *mspan) incPinCounter(offset uintptr) {
    	var rec *specialPinCounter
    	ref, exists := span.specialFindSplicePoint(offset, _KindSpecialPinCounter)
    	if !exists {
    		lock(&mheap_.speciallock)
    		rec = (*specialPinCounter)(mheap_.specialPinCounterAlloc.alloc())
    		unlock(&mheap_.speciallock)
    		// splice in record, fill in offset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top