Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 468 for heapUp (0.12 sec)

  1. src/net/http/pprof/pprof.go

    //   - gc=N (heap profile): N > 0: run a garbage collection cycle before profiling
    //   - seconds=N (allocs, block, goroutine, heap, mutex, threadcreate profiles): return a delta profile
    //   - seconds=N (cpu (profile), trace profiles): profile for the given duration
    //
    // # Usage examples
    //
    // Use the pprof tool to look at the heap profile:
    //
    //	go tool pprof http://localhost:6060/debug/pprof/heap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. test/escape_unsafe.go

    func arithAdd() unsafe.Pointer {
    	var x [2]byte // ERROR "moved to heap: x"
    	return unsafe.Pointer(uintptr(unsafe.Pointer(&x[0])) + 1)
    }
    
    func arithSub() unsafe.Pointer {
    	var x [2]byte // ERROR "moved to heap: x"
    	return unsafe.Pointer(uintptr(unsafe.Pointer(&x[1])) - 1)
    }
    
    func arithMask() unsafe.Pointer {
    	var x [2]byte // ERROR "moved to heap: x"
    	return unsafe.Pointer(uintptr(unsafe.Pointer(&x[1])) &^ 1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 17:25:59 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitorTest.groovy

        }
    
        def "heap stats defaults to empty given unknown garbage collector"() {
            given:
            def monitor = new DefaultGarbageCollectionMonitor(GarbageCollectorMonitoringStrategy.UNKNOWN, scheduledExecutorService)
    
            when:
            monitor.getHeapStats()
    
            then:
            noExceptionThrown()
        }
    
        def "non-heap stats defaults to empty given unknown garbage collector"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. test/fixedbugs/issue27518a.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"runtime"
    )
    
    var nilp *int
    var forceHeap interface{}
    
    func main() {
    	// x is a pointer on the stack to heap-allocated memory.
    	x := new([32]*int)
    	forceHeap = x
    	forceHeap = nil
    
    	// Push a defer to be run when we panic below.
    	defer func() {
    		// Ignore the panic.
    		recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:23 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. src/internal/trace/event/go122/event.go

    	// Experimental heap span events. Added in Go 1.23.
    	EvSpan      // heap span exists [timestamp, id, npages, type/class]
    	EvSpanAlloc // heap span alloc [timestamp, id, npages, type/class]
    	EvSpanFree  // heap span free [timestamp, id]
    
    	// Experimental heap object events. Added in Go 1.23.
    	EvHeapObject      // heap object exists [timestamp, id, type]
    	EvHeapObjectAlloc // heap object alloc [timestamp, id, type]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. test/stackobj2.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    )
    
    // linked list up the stack, to test lots of stack objects.
    
    type T struct {
    	// points to a heap object. Test will make sure it isn't freed.
    	data *int64
    	// next pointer for a linked list of stack objects
    	next *T
    	// duplicate of next, to stress test the pointer buffers
    	// used during stack tracing.
    	next2 *T
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:29 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  7. src/runtime/pprof/pprof.go

    // output to a writer during profiling.
    //
    // # Heap profile
    //
    // The heap profile reports statistics as of the most recently completed
    // garbage collection; it elides more recent allocation to avoid skewing
    // the profile away from live data and toward garbage.
    // If there has been no garbage collection at all, the heap profile reports
    // all known allocations. This exception helps mainly in programs running
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (1)
  8. src/runtime/pprof/mprof_test.go

    			}
    		}
    	})
    
    	t.Run("proto", func(t *testing.T) {
    		var buf bytes.Buffer
    		if err := Lookup("heap").WriteTo(&buf, 0); err != nil {
    			t.Fatalf("failed to write heap profile: %v", err)
    		}
    		p, err := profile.Parse(&buf)
    		if err != nil {
    			t.Fatalf("failed to parse heap profile: %v", err)
    		}
    		t.Logf("Profile = %v", p)
    
    		stks := stacks(p)
    		for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:20:22 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue42284.dir/a.go

    package a
    
    type I interface{ M() }
    type T int
    
    func (T) M() {} // ERROR "can inline T.M"
    
    func E() I { // ERROR "can inline E"
    	return T(0) // ERROR "T\(0\) escapes to heap"
    }
    
    func F(i I) I { // ERROR "can inline F" "leaking param: i to result ~r0 level=0"
    	i = nil
    	return i
    }
    
    func g() {
    	h := E() // ERROR "inlining call to E" "T\(0\) does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 18:09:45 UTC 2023
    - 750 bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    		case "/memory/classes/heap/objects:bytes":
    			objects.totalBytes = samples[i].Value.Uint64()
    		case "/gc/heap/objects:objects":
    			objects.total = samples[i].Value.Uint64()
    		case "/gc/heap/allocs:bytes":
    			objects.allocdBytes = samples[i].Value.Uint64()
    		case "/gc/heap/allocs:objects":
    			objects.allocs = samples[i].Value.Uint64()
    		case "/gc/heap/allocs-by-size: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