- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 54 for stacksize (0.2 sec)
-
src/runtime/export_test.go
g.init(int32(gcPercent), memoryLimit) return g } func (c *GCController) StartCycle(stackSize, globalsSize uint64, scannableFrac float64, gomaxprocs int) { trigger, _ := c.trigger() if c.heapMarked > trigger { trigger = c.heapMarked } c.maxStackScan.Store(stackSize) c.globalsScan.Store(globalsSize) c.heapLive.Store(trigger)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/asm_s390x.s
MOVD _cgo_sys_thread_create(SB), R1 CMP R1, $0 BEQ nocgo MOVD $_rt0_s390x_lib_go(SB), R2 MOVD $0, R3 BL R1 BR restore nocgo: MOVD $0x800000, R1 // stacksize MOVD R1, 0(R15) MOVD $_rt0_s390x_lib_go(SB), R1 MOVD R1, 8(R15) // fn MOVD $runtime·newosproc(SB), R1 BL R1 restore: // Restore F8-F15 from our stack frame. FMOVD 16(R15), F8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:18:28 UTC 2024 - 28.1K bytes - Viewed (0) -
src/runtime/os_windows.go
// //go:nowritebarrierrec //go:nosplit func newosproc0(mp *m, stk unsafe.Pointer) { // TODO: this is completely broken. The args passed to newosproc0 (in asm_amd64.s) // are stacksize and function, not *m and stack. // Check os_linux.go for an implementation that might actually work. throw("bad newosproc0") } func exitThread(wait *atomic.Uint32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
src/runtime/proc.go
func syscall_runtime_AfterExec() { execLock.unlock() } // Allocate a new g, with a stack big enough for stacksize bytes. func malg(stacksize int32) *g { newg := new(g) if stacksize >= 0 { stacksize = round2(stackSystem + stacksize) systemstack(func() { newg.stack = stackalloc(uint32(stacksize)) }) newg.stackguard0 = newg.stack.lo + stackGuard newg.stackguard1 = ^uintptr(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/runtime/asm_arm.s
MOVW _cgo_sys_thread_create(SB), R2 CMP $0, R2 BEQ nocgo MOVW $_rt0_arm_lib_go<>(SB), R0 MOVW $0, R1 BL (R2) B rr nocgo: MOVW $0x800000, R0 // stacksize = 8192KB MOVW $_rt0_arm_lib_go<>(SB), R1 // fn MOVW R0, 4(R13) MOVW R1, 8(R13) BL runtime·newosproc0(SB) rr: // Restore callee-save registers and return. MOVB runtime·goarmsoftfp(SB), R11
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:00:52 UTC 2024 - 32.1K bytes - Viewed (0) -
src/runtime/asm_386.s
MOVL SP, BP ANDL $~15, SP MOVL $_rt0_386_lib_go(SB), BX MOVL BX, 0(SP) MOVL $0, 4(SP) CALL AX MOVL BP, SP JMP restore nocgo: MOVL $0x800000, 0(SP) // stacksize = 8192KB MOVL $_rt0_386_lib_go(SB), AX MOVL AX, 4(SP) // fn CALL runtime·newosproc0(SB) restore: ADDL $8, SP POPL DI POPL SI POPL BX POPL BP RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 15:45:13 UTC 2024 - 43.1K bytes - Viewed (0) -
src/runtime/mgcpacer.go
(1-goexperiment.HeapMinimum512KiBInt)*(4<<20) // maxStackScanSlack is the bytes of stack space allocated or freed // that can accumulate on a P before updating gcController.stackSize. maxStackScanSlack = 8 << 10 // memoryLimitMinHeapGoalHeadroom is the minimum amount of headroom the // pacer gives to the heap goal when operating in the memory-limited regime.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
src/runtime/asm_amd64.s
MOVQ SP, BX // Callee-save in C ABI ANDQ $~15, SP MOVQ $_rt0_amd64_lib_go(SB), DI MOVQ $0, SI CALL AX MOVQ BX, SP JMP restore nocgo: ADJSP $16 MOVQ $0x800000, 0(SP) // stacksize MOVQ $_rt0_amd64_lib_go(SB), AX MOVQ AX, 8(SP) // fn CALL runtime·newosproc0(SB) ADJSP $-16 restore: POP_REGS_HOST_TO_ABI0() RET // _rt0_amd64_lib_go initializes the Go runtime.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.c
// Next, verify that switching stacks doesn't break callbacks. char *stack1 = malloc(STACK_SIZE); if (stack1 == NULL) { perror("malloc"); exit(1); } // Allocate the second stack before freeing the first to ensure we don't get // the same address from malloc. // // Will be freed in stackSwitchThread2. stack2 = malloc(STACK_SIZE); if (stack1 == NULL) { perror("malloc"); exit(1); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 15:17:33 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/bigstack_windows.c
} else { useStack(bytes - sizeof x); } } static DWORD WINAPI threadEntry(LPVOID lpParam) { useStack(STACK_SIZE - (128<<10)); return 0; } void bigStack(callback *cb) { bigStackCallback = cb; HANDLE hThread = CreateThread(NULL, STACK_SIZE, threadEntry, NULL, STACK_SIZE_PARAM_IS_A_RESERVATION, NULL); if (hThread == NULL) { fprintf(stderr, "CreateThread failed\n"); exit(1); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 02 15:18:26 UTC 2018 - 1.2K bytes - Viewed (0)