Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for stkalloc (0.14 sec)

  1. src/runtime/proc.go

    	} else {
    		maxstacksize = 250000000
    	}
    
    	// An upper limit for max stack size. Used to avoid random crashes
    	// after calling SetMaxStack and trying to allocate a stack that is too big,
    	// since stackalloc works with 32-bit sizes.
    	maxstackceiling = 2 * maxstacksize
    
    	// Allow newproc to start new Ms.
    	mainStarted = true
    
    	if haveSysmon {
    		systemstack(func() {
    			newm(sysmon, nil, -1)
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    	bh := (*buckhashArray)(buckhash.Load())
    	if bh == nil {
    		lock(&profInsertLock)
    		// check again under the lock
    		bh = (*buckhashArray)(buckhash.Load())
    		if bh == nil {
    			bh = (*buckhashArray)(sysAlloc(unsafe.Sizeof(buckhashArray{}), &memstats.buckhash_sys))
    			if bh == nil {
    				throw("runtime: cannot allocate memory")
    			}
    			buckhash.StoreNoWB(unsafe.Pointer(bh))
    		}
    		unlock(&profInsertLock)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    		default:
    			s.Fatalf("bad unsigned index extension %s", idx.Type)
    		}
    	}
    	return s.newValue1(op, types.Types[types.TINT], idx)
    }
    
    // CheckLoweredPhi checks that regalloc and stackalloc correctly handled phi values.
    // Called during ssaGenValue.
    func CheckLoweredPhi(v *ssa.Value) {
    	if v.Op != ssa.OpPhi {
    		v.Fatalf("CheckLoweredPhi called with non-phi value: %v", v.LongString())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top