Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 10dd62de4ba021068085b5b37d1ec054ff52e339
      
https://github.com/WebKit/WebKit/commit/10dd62de4ba021068085b5b37d1ec054ff52e339
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M Source/JavaScriptCore/heap/LocalAllocator.cpp
    M Source/JavaScriptCore/runtime/JSArray.cpp
    M Source/JavaScriptCore/runtime/JSObject.cpp

  Log Message:
  -----------
  [JSC] Use resource-exhaustion asserts for memory exhaust crash in JS 
allocations
https://bugs.webkit.org/show_bug.cgi?id=300763
rdar://162587789

Reviewed by Dan Hecht.

This patch uses resource-exhaustion asserts for memory exhaust
crash in JS allocations to make it more explicit.

* Source/JavaScriptCore/heap/LocalAllocator.cpp:
(JSC::LocalAllocator::allocateSlowCase):
* Source/JavaScriptCore/runtime/JSArray.cpp:
(JSC::constructArray):
* Source/JavaScriptCore/runtime/JSObject.cpp:
(JSC::createArrayStorageButterflyImpl):

Canonical link: https://commits.webkit.org/301523@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to