Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for heapDumps (0.08 sec)

  1. src/runtime/heapdump.go

    		if tmpbuf != nil {
    			sysFree(unsafe.Pointer(&tmpbuf[0]), uintptr(len(tmpbuf)), &memstats.other_sys)
    		}
    		n := nptr/8 + 1
    		p := sysAlloc(n, &memstats.other_sys)
    		if p == nil {
    			throw("heapdump: out of memory")
    		}
    		tmpbuf = (*[1 << 30]byte)(p)[:n]
    	}
    	// Convert heap bitmap to pointer bitmap.
    	clear(tmpbuf[:nptr/8+1])
    	s := spanOf(p)
    	tp := s.typePointersOf(p, size)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top