Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 75a5cc813c160af6de578483650120cbcf112ad2 https://github.com/WebKit/WebKit/commit/75a5cc813c160af6de578483650120cbcf112ad2 Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2025-03-09 (Sun, 09 Mar 2025)
Changed paths: A JSTests/stress/large-regexp-stack-use.js M JSTests/stress/regexp-huge-oom.js M Source/JavaScriptCore/runtime/OptionsList.h Log Message: ----------- REGRESSION (288911@main-290821@main): RegExp for large input (800KB) incorrectly returns null https://bugs.webkit.org/show_bug.cgi?id=289330 rdar://146497732 Reviewed by Sosuke Suzuki. We increase maxRegExpStackSize from 16 MB to 128 MB. This number is picked because, 1. V8 IRRegExp's max RegExp stack size is 64 MB. 2. Our stack usage is a bit larger than V8. So, we picked the next power-of-two size, 128 MB. This is still good compared to unbound size of stack increase. * JSTests/stress/large-regexp-stack-use.js: Added. (shouldBe): * Source/JavaScriptCore/runtime/OptionsList.h: Canonical link: https://commits.webkit.org/291877@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes