Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for traceSnapshotMemory (0.16 sec)

  1. src/runtime/traceallocfree.go

    )
    
    // traceSnapshotMemory takes a snapshot of all runtime memory that there are events for
    // (heap spans, heap objects, goroutine stacks, etc.) and writes out events for them.
    //
    // The world must be stopped and tracing must be enabled when this function is called.
    func traceSnapshotMemory(gen uintptr) {
    	assertWorldStopped()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/runtime/trace.go

    	if gcphase == _GCmark || gcphase == _GCmarktermination {
    		tl.GCActive()
    	}
    
    	// Dump a snapshot of memory, if enabled.
    	if trace.enabledWithAllocFree {
    		traceSnapshotMemory(firstGen)
    	}
    
    	// Record the heap goal so we have it at the very beginning of the trace.
    	tl.HeapGoal()
    
    	// Make sure a ProcStatus is emitted for every P, while we're here.
    	for _, pp := range allp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top