Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for HeapInuse (0.33 sec)

  1. pkg/ctrlz/topics/assets/templates/mem.html

    </p>
    
    <table>
        <thead>
        <tr>
            <th>Counter</th>
            <th>Value</th>
            <th>Description</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>HeapInuse</td>
            <td id="HeapInuse">{{.HeapInuse}} bytes</td>
            <td>Bytes in in-use spans.</td>
        </tr>
    
        <tr>
            <td>Total Alloc</td>
            <td id="TotalAlloc">{{.TotalAlloc}} bytes</td>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. src/runtime/mstats.go

    		// act without synchronizing with a STW. See #64401.
    		lock(&sched.sysmonlock)
    		lock(&trace.lock)
    		if gcController.heapInUse.load() != uint64(consStats.inHeap) {
    			print("runtime: heapInUse=", gcController.heapInUse.load(), "\n")
    			print("runtime: consistent value=", consStats.inHeap, "\n")
    			throw("heapInUse and consistent stats are not equal")
    		}
    		if gcController.heapReleased.load() != uint64(consStats.released) {
    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/malloc_test.go

    		st.BuckHashSys+st.GCSys+st.OtherSys {
    		t.Fatalf("Bad sys value: %+v", *st)
    	}
    
    	if st.HeapIdle+st.HeapInuse != st.HeapSys {
    		t.Fatalf("HeapIdle(%d) + HeapInuse(%d) should be equal to HeapSys(%d), but isn't.", st.HeapIdle, st.HeapInuse, st.HeapSys)
    	}
    
    	if lpe := st.PauseEnd[int(st.NumGC+255)%len(st.PauseEnd)]; st.LastGC != lpe {
    		t.Fatalf("LastGC(%d) != last PauseEnd(%d)", st.LastGC, lpe)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof.go

    	fmt.Fprintf(w, "# Frees = %d\n", s.Frees)
    
    	fmt.Fprintf(w, "# HeapAlloc = %d\n", s.HeapAlloc)
    	fmt.Fprintf(w, "# HeapSys = %d\n", s.HeapSys)
    	fmt.Fprintf(w, "# HeapIdle = %d\n", s.HeapIdle)
    	fmt.Fprintf(w, "# HeapInuse = %d\n", s.HeapInuse)
    	fmt.Fprintf(w, "# HeapReleased = %d\n", s.HeapReleased)
    	fmt.Fprintf(w, "# HeapObjects = %d\n", s.HeapObjects)
    
    	fmt.Fprintf(w, "# Stack = %d / %d\n", s.StackInuse, s.StackSys)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. src/runtime/heapdump.go

    	dumpint(m.Alloc)
    	dumpint(m.TotalAlloc)
    	dumpint(m.Sys)
    	dumpint(m.Lookups)
    	dumpint(m.Mallocs)
    	dumpint(m.Frees)
    	dumpint(m.HeapAlloc)
    	dumpint(m.HeapSys)
    	dumpint(m.HeapIdle)
    	dumpint(m.HeapInuse)
    	dumpint(m.HeapReleased)
    	dumpint(m.HeapObjects)
    	dumpint(m.StackInuse)
    	dumpint(m.StackSys)
    	dumpint(m.MSpanInuse)
    	dumpint(m.MSpanSys)
    	dumpint(m.MCacheInuse)
    	dumpint(m.MCacheSys)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/runtime/mgcscavenge.go

    // and the last heap goal, which tells us by how much the heap is growing and
    // shrinking. We estimate what the heap will grow to in terms of pages by taking
    // this ratio and multiplying it by heapInUse at the end of the last GC, which
    // allows us to account for this additional fragmentation. Note that this
    // procedure makes the assumption that the degree of fragmentation won't change
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    // allocManual returns nil if allocation fails.
    //
    // allocManual adds the bytes used to *stat, which should be a
    // memstats in-use field. Unlike allocations in the GC'd heap, the
    // allocation does *not* count toward heapInUse.
    //
    // The memory backing the returned span may not be zeroed if
    // span.needzero is set.
    //
    // allocManual must be called on the system stack because it may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. src/runtime/arena.go

    	// Reserved, not Prepared, so we skip updating heapFree or heapReleased and just
    	// remove the memory from the total altogether; it's just address space now.
    	gcController.heapInUse.add(-int64(s.npages * pageSize))
    
    	// Count this as a free of an object right now as opposed to when
    	// the span gets off the quarantine list. The main reason is so that the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  9. src/runtime/mgc.go

    		traceRelease(trace)
    	}
    
    	// all done
    	mp.preemptoff = ""
    
    	if gcphase != _GCoff {
    		throw("gc done but gcphase != _GCoff")
    	}
    
    	// Record heapInUse for scavenger.
    	memstats.lastHeapInUse = gcController.heapInUse.load()
    
    	// Update GC trigger and pacing, as well as downstream consumers
    	// of this pacing information, for the next cycle.
    	systemstack(gcControllerCommit)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    		case "/memory/classes/heap/objects:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapAlloc)
    		case "/memory/classes/heap/unused:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapInuse-mstats.HeapAlloc)
    		case "/memory/classes/heap/stacks:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.StackInuse)
    		case "/memory/classes/metadata/mcache/free:bytes":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top