Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0897dc8c4933853d3f79d4ec01e07e2ac4ce5804
https://github.com/WebKit/WebKit/commit/0897dc8c4933853d3f79d4ec01e07e2ac4ce5804
Author: Yijia Huang <[email protected]>
Date: 2023-04-24 (Mon, 24 Apr 2023)
Changed paths:
M Source/JavaScriptCore/runtime/ResourceExhaustion.h
M Source/JavaScriptCore/runtime/VM.cpp
Log Message:
-----------
Add MemoryExhaustion to enable existing instead of crashing on out of memory
https://bugs.webkit.org/show_bug.cgi?id=255881
rdar://108438866
Reviewed by Yusuke Suzuki and Justin Michaud.
It's intend to crash when a worker exhausting memory when constructing a VM.
Use RELEASE_ASSERT_RESOURCE_AVAILABLE instead for these types of resource
exhaustion to unblock fuzzer.
* Source/JavaScriptCore/runtime/ResourceExhaustion.h:
* Source/JavaScriptCore/runtime/VM.cpp:
(JSC::VM::VM):
Canonical link: https://commits.webkit.org/263328@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes