Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for iterate_itabs (0.13 sec)

  1. src/runtime/iface.go

    		// Note: while copying, other threads may look for an itab and
    		// fail to find it. That's ok, they will then try to get the itab lock
    		// and as a consequence wait until this copying is complete.
    		iterate_itabs(t2.add)
    		if t2.count != t.count {
    			throw("mismatched count during itab table copy")
    		}
    		// Publish new hash table. Use an atomic write: see comment in getitab.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/runtime/heapdump.go

    func itab_callback(tab *itab) {
    	t := tab.Type
    	dumptype(t)
    	dumpint(tagItab)
    	dumpint(uint64(uintptr(unsafe.Pointer(tab))))
    	dumpint(uint64(uintptr(unsafe.Pointer(t))))
    }
    
    func dumpitabs() {
    	iterate_itabs(itab_callback)
    }
    
    func dumpms() {
    	for mp := allm; mp != nil; mp = mp.alllink {
    		dumpint(tagOSThread)
    		dumpint(uint64(uintptr(unsafe.Pointer(mp))))
    		dumpint(uint64(mp.id))
    		dumpint(mp.procid)
    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