[webkit-changes] [WebKit/WebKit] 49618d: Make jsc shell's dumpException() resilient to OOME...
Commit Queue
noreply at github.com
Tue Oct 17 11:46:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 49618d459473b107532d557c445665eac5d87ad9
https://github.com/WebKit/WebKit/commit/49618d459473b107532d557c445665eac5d87ad9
Author: Mark Lam <mark.lam at apple.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M Source/JavaScriptCore/jsc.cpp
Log Message:
-----------
Make jsc shell's dumpException() resilient to OOME when preparing to dump the exception stack.
https://bugs.webkit.org/show_bug.cgi?id=263259
rdar://116740267
Reviewed by Alexey Shvayka.
Previously, it just crashes when it encounters an OOME while trying to dump the exception stack.
Now, it checks and skip the dump if there's not enough memory to handle it.
* Source/JavaScriptCore/jsc.cpp:
(dumpException):
Canonical link: https://commits.webkit.org/269421@main
More information about the webkit-changes
mailing list