[pull] main from oven-sh:main
Merged
PU
5mo ago+9+9+0123456789-1-1-0123456789
See Commits and Changes for more details.
Created by pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by cubic
On Windows, defer pre-committing VM stack pages until after the VM has been entered. This prevents eager commits of the full thread stack reserve and avoids EXCEPTION_STACK_OVERFLOW on commit-constrained hosts.
- Bug Fixes
- Only call preCommitStackMemory() if m_stackPointerAtVMEntry is set in VM::updateStackLimits.
- Safe because LLInt/JIT code cannot run before VM entry; setStackPointerAtVMEntry recomputes the limit later.
- No behavior change on non-Windows platforms.