Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isReachable (0.13 sec)

  1. src/runtime/mgc.go

    	// Force a full GC and sweep.
    	GC()
    
    	// Process specials.
    	for i, s := range specials {
    		if !s.done {
    			printlock()
    			println("runtime: object", i, "was not swept")
    			throw("IsReachable failed")
    		}
    		if s.reachable {
    			mask |= 1 << i
    		}
    		lock(&mheap_.speciallock)
    		mheap_.specialReachableAlloc.free(unsafe.Pointer(s))
    		unlock(&mheap_.speciallock)
    	}
    
    	return mask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top