Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 556 for free1 (0.27 sec)

  1. src/runtime/mpallocbits.go

    func (b *pallocBits) allocAll() {
    	(*pageBits)(b).setAll()
    }
    
    // free1 frees a single page in the pallocBits at i.
    func (b *pallocBits) free1(i uint) {
    	(*pageBits)(b).clear(i)
    }
    
    // free frees the range [i, i+n) of pages in the pallocBits.
    func (b *pallocBits) free(i, n uint) {
    	(*pageBits)(b).clearRange(i, n)
    }
    
    // freeAll frees all the bits of b.
    func (b *pallocBits) freeAll() {
    	(*pageBits)(b).clearAll()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/runtime/mstats.go

    	Lookups uint64
    
    	// Mallocs is the cumulative count of heap objects allocated.
    	// The number of live objects is Mallocs - Frees.
    	Mallocs uint64
    
    	// Frees is the cumulative count of heap objects freed.
    	Frees uint64
    
    	// Heap memory statistics.
    	//
    	// Interpreting the heap statistics requires some knowledge of
    	// how Go organizes memory. Go divides the virtual address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. src/runtime/mgcsweep.go

    			// objects, because a fresh span that had been allocated into,
    			// wasn't totally filled, but then swept, still has all of its
    			// free slots zeroed.
    			s.needzero = 1
    			stats := memstats.heapStats.acquire()
    			atomic.Xadd64(&stats.smallFreeCount[spc.sizeclass()], int64(nfreed))
    			memstats.heapStats.release()
    
    			// Count the frees in the inconsistent, internal stats.
    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

    // that were exhausted when allocating into the arena. Once the arena is freed,
    // it frees all full chunks it references, and places the active one onto a reuse
    // list for a future arena to use. Each arena keeps its list of referenced chunks
    // explicitly live until it is freed. Each user arena also maps to an object which
    // has a finalizer attached that ensures the arena's chunks are all freed even if
    // the arena itself is never explicitly freed.
    //
    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/runtime/export_test.go

    		}
    		slow.Frees += m.tinyAllocCount + m.largeFreeCount
    		slow.Mallocs += slow.Frees
    
    		slow.TotalAlloc = slow.Alloc + m.largeFree + smallFree
    
    		for i := range slow.BySize {
    			slow.BySize[i].Mallocs = bySize[i].Mallocs
    			slow.BySize[i].Frees = bySize[i].Frees
    		}
    
    		for i := mheap_.pages.start; i < mheap_.pages.end; i++ {
    			chunk := mheap_.pages.tryChunkOf(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/DefaultMemoryManager.java

                    // If we've freed memory, invalidate the current OS memory snapshot
                    if (freedPhysical || freedVirtual) {
                        currentOsMemoryStatus = null;
                    }
                } else {
                    LOGGER.debug("There is no current snapshot of OS memory available - memory cannot be freed until a new memory status update occurs");
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. pkg/kubelet/images/image_gc_manager.go

    		freed, err := im.freeSpace(ctx, amountToFree, freeTime, images)
    		if err != nil {
    			return err
    		}
    
    		if freed < amountToFree {
    			err := fmt.Errorf("Failed to garbage collect required amount of images. Attempted to free %d bytes, but only found %d bytes eligible to free.", amountToFree, freed)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. src/runtime/mheap.go

    type gcBitsHeader struct {
    	free uintptr // free is the index into bits of the next free byte.
    	next uintptr // *gcBits triggers recursive type bug. (issue 14620)
    }
    
    type gcBitsArena struct {
    	_ sys.NotInHeap
    	// gcBitsHeader // side step recursive type bug (issue 14620) by including fields by hand.
    	free uintptr // free is the index into bits of the next free byte; read/write atomically
    	next *gcBitsArena
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  9. src/runtime/metrics/doc.go

    		defined by /gc/heap/tiny/allocs:objects, only tiny blocks.
    
    	/gc/heap/frees-by-size:bytes
    		Distribution of freed heap allocations by approximate size.
    		Bucket counts increase monotonically. Note that this does not
    		include tiny objects as defined by /gc/heap/tiny/allocs:objects,
    		only tiny blocks.
    
    	/gc/heap/frees:bytes
    		Cumulative sum of heap memory freed by the garbage collector.
    
    	/gc/heap/frees:objects
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. cmd/admin-server-info.go

    		Version:  Version,
    		CommitID: CommitID,
    		Network:  network,
    		MemStats: madmin.MemStats{
    			Alloc:      memstats.Alloc,
    			TotalAlloc: memstats.TotalAlloc,
    			Mallocs:    memstats.Mallocs,
    			Frees:      memstats.Frees,
    			HeapAlloc:  memstats.HeapAlloc,
    		},
    		GoMaxProcs:     runtime.GOMAXPROCS(0),
    		NumCPU:         runtime.NumCPU(),
    		RuntimeVersion: runtime.Version(),
    		GCStats: &madmin.GCStats{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top