Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/mgcwork.go

    	// workbufAlloc is the number of bytes to allocate at a time
    	// for new workbufs. This must be a multiple of pageSize and
    	// should be a multiple of _WorkbufSize.
    	//
    	// Larger values reduce workbuf allocation overhead. Smaller
    	// values reduce heap fragmentation.
    	workbufAlloc = 32 << 10
    )
    
    func init() {
    	if workbufAlloc%pageSize != 0 || workbufAlloc%_WorkbufSize != 0 {
    		throw("bad workbufAlloc")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top