Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for MinHeap (0.39 sec)

  1. src/runtime/cgocall.go

    		it := *(**_type)(p)
    		if it == nil {
    			return
    		}
    		// A type known at compile time is OK since it's
    		// constant. A type not known at compile time will be
    		// in the heap and will not be OK.
    		if inheap(uintptr(unsafe.Pointer(it))) {
    			panic(errorString(msg))
    		}
    		p = *(*unsafe.Pointer)(add(p, goarch.PtrSize))
    		if !cgoIsGoPointer(p) {
    			return
    		}
    		if !top && !isPinned(p) {
    			panic(errorString(msg))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    	}
    }
    
    // inheap reports whether b is a pointer into a (potentially dead) heap object.
    // It returns false for pointers into mSpanManual spans.
    // Non-preemptible because it is used by write barriers.
    //
    //go:nowritebarrier
    //go:nosplit
    func inheap(b uintptr) bool {
    	return spanOfHeap(b) != nil
    }
    
    // inHeapOrStack is a variant of inheap that returns true for pointers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. src/runtime/mgcsweep.go

    			// Free large object span to heap.
    
    			// Count the free in the consistent, external stats.
    			//
    			// Do this before freeSpan, which might update heapStats' inHeap
    			// value. If it does so, then metrics that subtract object footprint
    			// from inHeap might overflow. See #67019.
    			stats := memstats.heapStats.acquire()
    			atomic.Xadd64(&stats.largeFreeCount, 1)
    			atomic.Xadd64(&stats.largeFree, int64(size))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. src/runtime/arena.go

    	// won't change out from under us).
    	stats := memstats.heapStats.acquire()
    	atomic.Xaddint64(&stats.committed, -int64(s.npages*pageSize))
    	atomic.Xaddint64(&stats.inHeap, -int64(s.npages*pageSize))
    	atomic.Xadd64(&stats.largeFreeCount, 1)
    	atomic.Xadd64(&stats.largeFree, int64(s.elemsize))
    	memstats.heapStats.release()
    
    	// This counts as a free, so update heapLive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/static/trace_viewer_full.html

    region.byteStats.proportionalResident;}}}};return{VMRegion,VMRegionClassificationNode,};});'use strict';tr.exportTo('tr.model',function(){const DISCOUNTED_ALLOCATOR_NAMES=['winheap','malloc'];const TRACING_OVERHEAD_PATH=['allocated_objects','tracing_overhead'];const SIZE_NUMERIC_NAME=tr.model.MemoryAllocatorDump.SIZE_NUMERIC_NAME;const RESIDENT_SIZE_NUMERIC_NAME=tr.model.MemoryAllocatorDump.RESIDENT_SIZE_NUMERIC_NAME;function...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top